Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 103.4 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3427/0.3427, allocations: 43.48 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1199, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.2574/0.3773, allocations: 42.98 MB / 0.5176 GB, free: 37.13 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02288/0.4002, allocations: 21.36 MB / 0.5384 GB, free: 25.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.4016, allocations: 24.72 kB / 0.5385 GB, free: 25.76 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.4027, allocations: 393.1 kB / 0.5388 GB, free: 25.54 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.4146, allocations: 4.182 MB / 0.5429 GB, free: 23.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.4205, allocations: 2.098 MB / 0.545 GB, free: 22.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.4227, allocations: 2.13 MB / 0.547 GB, free: 21.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.4235, allocations: 395.1 kB / 0.5474 GB, free: 21.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.4251, allocations: 0.6608 MB / 0.5481 GB, free: 21.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007816/0.4329, allocations: 3.66 MB / 0.5516 GB, free: 19.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.4332, allocations: 33.28 kB / 0.5517 GB, free: 19.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.4491, allocations: 7.704 MB / 0.5592 GB, free: 17.56 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.4495, allocations: 164.9 kB / 0.5594 GB, free: 17.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009552/0.4505, allocations: 390.4 kB / 0.5597 GB, free: 17.28 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.4657, allocations: 5.288 MB / 0.5649 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4658, allocations: 1.25 kB / 0.5649 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4658, allocations: 0 / 0.5649 GB, free: 15.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.199e-05/0.4658, allocations: 4 kB / 0.5649 GB, free: 15.36 MB / 394.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.006397/0.4722, allocations: 1.68 MB / 0.5665 GB, free: 14.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4723, allocations: 9.281 kB / 0.5665 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.4746, allocations: 297.6 kB / 0.5668 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4756, allocations: 0.5338 MB / 0.5673 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.4757, allocations: 51.09 kB / 0.5674 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.4758, allocations: 57.31 kB / 0.5675 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.4785, allocations: 0.9693 MB / 0.5684 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.4785, allocations: 4.062 kB / 0.5684 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.4786, allocations: 27.23 kB / 0.5684 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.4787, allocations: 24.56 kB / 0.5685 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.4812, allocations: 0.8643 MB / 0.5693 GB, free: 12.46 MB / 394.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.005112/0.4863, allocations: 4.535 MB / 0.5737 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.4887, allocations: 0.7438 MB / 0.5745 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.4893, allocations: 313.8 kB / 0.5747 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.109/0.5983, allocations: 55.8 MB / 0.6292 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.5984, allocations: 39 kB / 0.6293 GB, free: 13.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.5984, allocations: 0 / 0.6293 GB, free: 13.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.006978/0.6054, allocations: 2.205 MB / 0.6314 GB, free: 11.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.6055, allocations: 107.2 kB / 0.6315 GB, free: 11.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.6062, allocations: 0.5143 MB / 0.632 GB, free: 10.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.6062, allocations: 37.7 kB / 0.6321 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.6064, allocations: 324.2 kB / 0.6324 GB, free: 10.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.6066, allocations: 177.3 kB / 0.6326 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.6068, allocations: 142.2 kB / 0.6327 GB, free: 9.895 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.6069, allocations: 366.8 kB / 0.633 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.6076, allocations: 275.3 kB / 0.6333 GB, free: 9.254 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/0.6084, allocations: 437.7 kB / 0.6337 GB, free: 8.762 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.6097, allocations: 0.6792 MB / 0.6344 GB, free: 8.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6098, allocations: 0 / 0.6344 GB, free: 8.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002288/0.6121, allocations: 0.9596 MB / 0.6353 GB, free: 7.051 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.6121, allocations: 8 kB / 0.6353 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.6121, allocations: 7.984 kB / 0.6353 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.6146, allocations: 452.5 kB / 0.6358 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.6151, allocations: 127.8 kB / 0.6359 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.6166, allocations: 0.9114 MB / 0.6368 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/0.6176, allocations: 79.89 kB / 0.6369 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/0.6177, allocations: 39.92 kB / 0.6369 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009857/0.6187, allocations: 405.3 kB / 0.6373 GB, free: 5.008 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008278/0.6196, allocations: 431.6 kB / 0.6377 GB, free: 4.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001496/0.6211, allocations: 0.6644 MB / 0.6383 GB, free: 3.793 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.724e-06/0.6211, allocations: 0 / 0.6383 GB, free: 3.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002286/0.6234, allocations: 0.9126 MB / 0.6392 GB, free: 2.867 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6234, allocations: 7.938 kB / 0.6392 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6234, allocations: 4 kB / 0.6392 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.6249, allocations: 321 kB / 0.6396 GB, free: 2.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.6253, allocations: 124.7 kB / 0.6397 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.6264, allocations: 0.877 MB / 0.6405 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.6272, allocations: 83.86 kB / 0.6406 GB, free: 1.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.6272, allocations: 31.98 kB / 0.6406 GB, free: 1.402 MB / 458.7 MB 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 (55): * Single equations (assignments): 54 * 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 {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.6275, allocations: 229.1 kB / 0.6409 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.6276, allocations: 67.25 kB / 0.6409 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.6313, allocations: 2.887 MB / 0.6437 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/0.6313, allocations: 47.92 kB / 0.6438 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.6313, allocations: 0 / 0.6438 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6313, allocations: 3.938 kB / 0.6438 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.6362, allocations: 4.059 MB / 0.6478 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6362, allocations: 3.938 kB / 0.6478 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.6369, allocations: 155.8 kB / 0.6479 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.6372, allocations: 68.73 kB / 0.648 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.6373, allocations: 12 kB / 0.648 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006124/0.6379, allocations: 1.189 MB / 0.6491 GB, free: 8.562 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6379, allocations: 0 / 0.6491 GB, free: 8.562 MB / 474.7 MB 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.