Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, 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.451/1.451, allocations: 222.9 MB / 241.6 MB, free: 11 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.0009553/0.0009553, allocations: 115.5 kB / 291.9 MB, free: 10.91 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.3898/0.3898, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001034, allocations: 47.91 kB / 457.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.364, allocations: 60.8 MB / 0.5064 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.03444/0.3985, allocations: 43 MB / 0.5484 GB, free: 7.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02605/0.4246, allocations: 21.38 MB / 0.5693 GB, free: 9.387 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.4267, allocations: 28.94 kB / 0.5693 GB, free: 9.371 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.4284, allocations: 392.4 kB / 0.5697 GB, free: 9.156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0168/0.4452, allocations: 4.187 MB / 0.5737 GB, free: 7.227 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007295/0.4525, allocations: 2.123 MB / 0.5758 GB, free: 5.988 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.4558, allocations: 2.127 MB / 0.5779 GB, free: 4.824 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.4567, allocations: 390.7 kB / 0.5783 GB, free: 4.566 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.4584, allocations: 0.6738 MB / 0.5789 GB, free: 4.191 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00882/0.4672, allocations: 3.652 MB / 0.5825 GB, free: 1.938 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.4675, allocations: 37.91 kB / 0.5825 GB, free: 1.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/0.4848, allocations: 7.705 MB / 0.5901 GB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.4851, allocations: 167.3 kB / 0.5902 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.4858, allocations: 390 kB / 0.5906 GB, free: 9.707 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.4978, allocations: 5.282 MB / 0.5957 GB, free: 4.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4978, allocations: 4 kB / 0.5958 GB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.4978, allocations: 4 kB / 0.5958 GB, free: 4.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4978, allocations: 4 kB / 0.5958 GB, free: 4.402 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.003669/0.5015, allocations: 1.672 MB / 0.5974 GB, free: 2.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5016, allocations: 15.97 kB / 0.5974 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.5037, allocations: 299.7 kB / 0.5977 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008393/0.5046, allocations: 0.5365 MB / 0.5982 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/0.5046, allocations: 49.25 kB / 0.5983 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.5047, allocations: 63.98 kB / 0.5983 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.5071, allocations: 0.9594 MB / 0.5993 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5071, allocations: 0 / 0.5993 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.5072, allocations: 28 kB / 0.5993 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.5072, allocations: 32.97 kB / 0.5993 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.5096, allocations: 0.8662 MB / 0.6002 GB, free: 15.73 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.005234/0.5149, allocations: 4.537 MB / 0.6046 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.5173, allocations: 0.7464 MB / 0.6053 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.5179, allocations: 302 kB / 0.6056 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1122/0.6301, allocations: 55.83 MB / 0.6601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.6302, allocations: 35 kB / 0.6602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.6302, allocations: 0 / 0.6602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.006814/0.637, allocations: 2.198 MB / 0.6623 GB, free: 8.961 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.6371, allocations: 115.2 kB / 0.6624 GB, free: 8.824 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.6378, allocations: 0.5067 MB / 0.6629 GB, free: 8.309 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.6378, allocations: 41.7 kB / 0.663 GB, free: 8.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.6381, allocations: 320.3 kB / 0.6633 GB, free: 7.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.6382, allocations: 185.3 kB / 0.6634 GB, free: 7.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.6384, allocations: 134.2 kB / 0.6636 GB, free: 7.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6386, allocations: 374.8 kB / 0.6639 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.6392, allocations: 271.3 kB / 0.6642 GB, free: 6.977 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000797/0.6401, allocations: 437.8 kB / 0.6646 GB, free: 6.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.6414, allocations: 0.6752 MB / 0.6653 GB, free: 5.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6414, allocations: 4 kB / 0.6653 GB, free: 5.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002239/0.6437, allocations: 0.9595 MB / 0.6662 GB, free: 4.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6437, allocations: 8 kB / 0.6662 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6437, allocations: 4 kB / 0.6662 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.646, allocations: 455.5 kB / 0.6667 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.6465, allocations: 127.8 kB / 0.6668 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.6479, allocations: 0.9113 MB / 0.6677 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.6485, allocations: 83.92 kB / 0.6677 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.6486, allocations: 31.98 kB / 0.6678 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008103/0.6494, allocations: 409.3 kB / 0.6682 GB, free: 2.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007354/0.6502, allocations: 438.6 kB / 0.6686 GB, free: 2.238 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/0.6515, allocations: 0.6605 MB / 0.6692 GB, free: 1.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.998e-06/0.6515, allocations: 4 kB / 0.6692 GB, free: 1.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002059/0.6536, allocations: 0.9048 MB / 0.6701 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6536, allocations: 11.94 kB / 0.6701 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6536, allocations: 4 kB / 0.6701 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.6549, allocations: 319.1 kB / 0.6704 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.6554, allocations: 135.8 kB / 0.6706 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.6565, allocations: 0.8684 MB / 0.6714 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.6571, allocations: 83.83 kB / 0.6715 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.6572, allocations: 31.98 kB / 0.6715 GB, free: 15.12 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 (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.0002201/0.6574, allocations: 230.6 kB / 0.6717 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6575, allocations: 63.25 kB / 0.6718 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.6611, allocations: 2.878 MB / 0.6746 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/0.6611, allocations: 39.94 kB / 0.6747 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6611, allocations: 11.91 kB / 0.6747 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6611, allocations: 0 / 0.6747 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.6656, allocations: 4.07 MB / 0.6786 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6656, allocations: 0 / 0.6786 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.6663, allocations: 163.7 kB / 0.6788 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/0.6667, allocations: 64.8 kB / 0.6789 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.6667, allocations: 16 kB / 0.6789 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/0.6675, allocations: 1.181 MB / 0.68 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6675, allocations: 0 / 0.68 GB, free: 6.285 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.