Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, 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.317/1.317, 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.0009405/0.0009405, allocations: 104.7 kB / 269.9 MB, free: 8.434 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.3444/0.3444, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009446/0.0009447, allocations: 47.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1024, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.2368/0.3393, allocations: 42.99 MB / 0.5176 GB, free: 37.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.3613, allocations: 21.35 MB / 0.5384 GB, free: 25.71 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3625, allocations: 28.12 kB / 0.5385 GB, free: 25.7 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.3635, allocations: 388.4 kB / 0.5388 GB, free: 25.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.3746, allocations: 4.189 MB / 0.5429 GB, free: 23.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.3802, allocations: 2.08 MB / 0.545 GB, free: 22.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.3822, allocations: 2.144 MB / 0.547 GB, free: 21.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.3827, allocations: 397.9 kB / 0.5474 GB, free: 21.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.3837, allocations: 0.6637 MB / 0.5481 GB, free: 21.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/0.3903, allocations: 3.666 MB / 0.5517 GB, free: 19.51 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.3905, allocations: 36.28 kB / 0.5517 GB, free: 19.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/0.4049, allocations: 7.784 MB / 0.5593 GB, free: 17.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.4053, allocations: 163.5 kB / 0.5594 GB, free: 17.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.406, allocations: 394.8 kB / 0.5598 GB, free: 17.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.4188, allocations: 5.325 MB / 0.565 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4188, allocations: 1.156 kB / 0.565 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4188, allocations: 0 / 0.565 GB, free: 15.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4188, allocations: 0 / 0.565 GB, free: 15.25 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.005083/0.4239, allocations: 1.683 MB / 0.5667 GB, free: 14.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.4239, allocations: 9.656 kB / 0.5667 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.426, allocations: 300.6 kB / 0.567 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.4268, allocations: 0.5316 MB / 0.5675 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.4268, allocations: 54.39 kB / 0.5675 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.4269, allocations: 56.75 kB / 0.5676 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.429, allocations: 0.971 MB / 0.5685 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4291, allocations: 1.75 kB / 0.5685 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.4291, allocations: 24.22 kB / 0.5686 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.4292, allocations: 23.69 kB / 0.5686 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.4314, allocations: 0.875 MB / 0.5694 GB, free: 12.34 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.003906/0.4353, allocations: 4.558 MB / 0.5739 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.4376, allocations: 0.7593 MB / 0.5746 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.4383, allocations: 306.5 kB / 0.5749 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1065/0.5447, allocations: 55.81 MB / 0.6294 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.5448, allocations: 46.11 kB / 0.6295 GB, free: 13.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/0.5448, allocations: 3.938 kB / 0.6295 GB, free: 13.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.006689/0.5515, allocations: 2.213 MB / 0.6316 GB, free: 11.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.5516, allocations: 111.2 kB / 0.6317 GB, free: 10.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.5522, allocations: 0.5067 MB / 0.6322 GB, free: 10.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5522, allocations: 37.69 kB / 0.6323 GB, free: 10.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.5524, allocations: 324.2 kB / 0.6326 GB, free: 10 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.5526, allocations: 177.4 kB / 0.6327 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.5528, allocations: 142.2 kB / 0.6329 GB, free: 9.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5529, allocations: 366.8 kB / 0.6332 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006643/0.5536, allocations: 279.2 kB / 0.6335 GB, free: 9.035 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.5544, allocations: 437.8 kB / 0.6339 GB, free: 8.543 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.5557, allocations: 0.6869 MB / 0.6346 GB, free: 7.793 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5557, allocations: 0 / 0.6346 GB, free: 7.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002255/0.558, allocations: 0.9636 MB / 0.6355 GB, free: 6.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.558, allocations: 8 kB / 0.6355 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.558, allocations: 4 kB / 0.6355 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.5601, allocations: 436.5 kB / 0.636 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.5605, allocations: 131.8 kB / 0.6361 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.5619, allocations: 0.9035 MB / 0.637 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.5626, allocations: 83.81 kB / 0.637 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.5627, allocations: 39.92 kB / 0.6371 GB, free: 5.199 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008092/0.5635, allocations: 417.2 kB / 0.6375 GB, free: 4.785 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007117/0.5643, allocations: 431.7 kB / 0.6379 GB, free: 4.297 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.5656, allocations: 0.6721 MB / 0.6385 GB, free: 3.562 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.5657, allocations: 0 / 0.6385 GB, free: 3.562 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002153/0.5678, allocations: 0.9205 MB / 0.6394 GB, free: 2.629 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5679, allocations: 11.94 kB / 0.6395 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5679, allocations: 4 kB / 0.6395 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.5693, allocations: 333 kB / 0.6398 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.5698, allocations: 131.8 kB / 0.6399 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.5709, allocations: 0.8837 MB / 0.6408 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.5716, allocations: 79.91 kB / 0.6408 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.5717, allocations: 35.92 kB / 0.6409 GB, free: 1.141 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 (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.0002355/0.5719, allocations: 228.9 kB / 0.6411 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.572, allocations: 63.25 kB / 0.6412 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.5755, allocations: 2.885 MB / 0.644 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/0.5756, allocations: 47.92 kB / 0.644 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5756, allocations: 0 / 0.644 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.5756, allocations: 7.922 kB / 0.644 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.5802, allocations: 4.074 MB / 0.648 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5802, allocations: 0 / 0.648 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.5809, allocations: 155.8 kB / 0.6482 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.5812, allocations: 80.58 kB / 0.6482 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.5813, allocations: 20 kB / 0.6482 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/0.5819, allocations: 1.17 MB / 0.6494 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5819, allocations: 0 / 0.6494 GB, free: 8.289 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.