Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009969, allocations: 102.3 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3944/0.3944, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3377, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.03457/0.3724, allocations: 43 MB / 0.5484 GB, free: 7.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02662/0.399, allocations: 21.36 MB / 0.5692 GB, free: 9.246 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.4006, allocations: 30.25 kB / 0.5693 GB, free: 9.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4022, allocations: 388 kB / 0.5696 GB, free: 9.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01658/0.4188, allocations: 4.205 MB / 0.5738 GB, free: 7.074 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00817/0.427, allocations: 2.116 MB / 0.5758 GB, free: 5.875 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003769/0.4308, allocations: 2.137 MB / 0.5779 GB, free: 4.703 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009407/0.4317, allocations: 396.5 kB / 0.5783 GB, free: 4.441 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.4339, allocations: 0.6748 MB / 0.5789 GB, free: 4.066 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009082/0.443, allocations: 3.665 MB / 0.5825 GB, free: 1.801 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003485/0.4434, allocations: 34 kB / 0.5826 GB, free: 1.801 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01945/0.4629, allocations: 7.781 MB / 0.5902 GB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.4632, allocations: 167.3 kB / 0.5903 GB, free: 9.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007865/0.464, allocations: 390.1 kB / 0.5907 GB, free: 9.609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.4799, allocations: 5.325 MB / 0.5959 GB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.4799, allocations: 4 kB / 0.5959 GB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4799, allocations: 3.938 kB / 0.5959 GB, free: 4.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4799, allocations: 0 / 0.5959 GB, free: 4.266 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.004493/0.4844, allocations: 1.688 MB / 0.5975 GB, free: 2.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4845, allocations: 15.97 kB / 0.5976 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.4867, allocations: 303.7 kB / 0.5978 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.4877, allocations: 0.5326 MB / 0.5984 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.4878, allocations: 57.25 kB / 0.5984 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4879, allocations: 56 kB / 0.5985 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.4902, allocations: 0.9673 MB / 0.5994 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4903, allocations: 3.938 kB / 0.5994 GB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.4904, allocations: 24 kB / 0.5994 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.4904, allocations: 21 kB / 0.5995 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.4929, allocations: 0.8662 MB / 0.6003 GB, free: 15.59 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005669/0.4985, allocations: 4.545 MB / 0.6047 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.5011, allocations: 0.7752 MB / 0.6055 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.5018, allocations: 310 kB / 0.6058 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1127/0.6145, allocations: 55.8 MB / 0.6603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.6146, allocations: 46.94 kB / 0.6603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/0.6146, allocations: 0 / 0.6603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.006619/0.6212, allocations: 2.221 MB / 0.6625 GB, free: 8.762 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.6213, allocations: 111.2 kB / 0.6626 GB, free: 8.629 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.6219, allocations: 0.5028 MB / 0.6631 GB, free: 8.117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.622, allocations: 37.7 kB / 0.6631 GB, free: 8.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.6222, allocations: 324.2 kB / 0.6635 GB, free: 7.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.6223, allocations: 181.4 kB / 0.6636 GB, free: 7.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.6225, allocations: 138.2 kB / 0.6638 GB, free: 7.426 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6227, allocations: 370.8 kB / 0.6641 GB, free: 7.055 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.6234, allocations: 275.3 kB / 0.6644 GB, free: 6.785 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/0.6241, allocations: 437.8 kB / 0.6648 GB, free: 6.285 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.6255, allocations: 0.6831 MB / 0.6655 GB, free: 5.547 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6256, allocations: 0 / 0.6655 GB, free: 5.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002394/0.628, allocations: 0.9676 MB / 0.6664 GB, free: 4.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.628, allocations: 8.031 kB / 0.6664 GB, free: 4.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.628, allocations: 11.98 kB / 0.6664 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.6302, allocations: 437.6 kB / 0.6668 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.6307, allocations: 127.8 kB / 0.667 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.6321, allocations: 0.9129 MB / 0.6679 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.6328, allocations: 79.81 kB / 0.6679 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.6329, allocations: 39.98 kB / 0.668 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008287/0.6337, allocations: 405.3 kB / 0.6684 GB, free: 2.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007524/0.6345, allocations: 438.7 kB / 0.6688 GB, free: 2.043 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/0.6358, allocations: 0.6682 MB / 0.6694 GB, free: 1.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.6359, allocations: 7.922 kB / 0.6694 GB, free: 1.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002161/0.638, allocations: 0.9169 MB / 0.6703 GB, free: 380 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6381, allocations: 13.75 kB / 0.6703 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6381, allocations: 8 kB / 0.6703 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.6396, allocations: 334.9 kB / 0.6707 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.6401, allocations: 131.8 kB / 0.6708 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.6413, allocations: 0.8646 MB / 0.6716 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.6419, allocations: 91.77 kB / 0.6717 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-05/0.642, allocations: 35.98 kB / 0.6718 GB, free: 14.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0002733/0.6423, allocations: 224 kB / 0.672 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6424, allocations: 59.25 kB / 0.672 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.6461, allocations: 2.889 MB / 0.6748 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/0.6461, allocations: 39.94 kB / 0.6749 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6461, allocations: 7.938 kB / 0.6749 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.6462, allocations: 3.984 kB / 0.6749 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/0.651, allocations: 4.078 MB / 0.6789 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.651, allocations: 0 / 0.6789 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.6518, allocations: 159.8 kB / 0.679 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003107/0.6521, allocations: 72.69 kB / 0.6791 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.6521, allocations: 16 kB / 0.6791 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006757/0.6528, allocations: 1.185 MB / 0.6803 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6528, allocations: 0 / 0.6803 GB, free: 6.023 MB / 0.4948 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.