Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 112.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.397/0.397, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3698, allocations: 62.02 MB / 0.5152 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.03164/0.4015, allocations: 43.08 MB / 0.5572 GB, free: 7.422 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02837/0.4299, allocations: 21.37 MB / 0.5781 GB, free: 7.914 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.4313, allocations: 25.34 kB / 0.5781 GB, free: 7.902 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.4327, allocations: 395.5 kB / 0.5785 GB, free: 7.578 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.4482, allocations: 4.211 MB / 0.5826 GB, free: 4.383 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008007/0.4562, allocations: 2.107 MB / 0.5847 GB, free: 2.281 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003004/0.4592, allocations: 2.141 MB / 0.5868 GB, free: 132 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.46, allocations: 401.2 kB / 0.5871 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.4616, allocations: 0.6652 MB / 0.5878 GB, free: 15.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007763/0.4693, allocations: 3.654 MB / 0.5914 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.4696, allocations: 36 kB / 0.5914 GB, free: 11.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/0.4873, allocations: 7.715 MB / 0.5989 GB, free: 3.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.4877, allocations: 167.3 kB / 0.5991 GB, free: 3.422 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009645/0.4887, allocations: 390.1 kB / 0.5995 GB, free: 3.039 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.507, allocations: 5.301 MB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.507, allocations: 0 / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.507, allocations: 0 / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.507, allocations: 0 / 0.6046 GB, free: 13.73 MB / 426.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.005527/0.5126, allocations: 1.68 MB / 0.6063 GB, free: 12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5126, allocations: 8.031 kB / 0.6063 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.515, allocations: 299.7 kB / 0.6066 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/0.516, allocations: 0.5365 MB / 0.6071 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.5161, allocations: 49.25 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5162, allocations: 63.98 kB / 0.6072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5187, allocations: 0.971 MB / 0.6082 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5187, allocations: 0 / 0.6082 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.5188, allocations: 24 kB / 0.6082 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5189, allocations: 24.98 kB / 0.6082 GB, free: 9.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.5213, allocations: 0.8662 MB / 0.609 GB, free: 9.059 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.005696/0.527, allocations: 4.542 MB / 0.6135 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.5295, allocations: 0.7449 MB / 0.6142 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.5302, allocations: 302 kB / 0.6145 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.123/0.6531, allocations: 62.07 MB / 0.6751 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.017e-05/0.6533, allocations: 39 kB / 0.6752 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.607e-06/0.6533, allocations: 0 / 0.6752 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.006993/0.6603, allocations: 2.198 MB / 0.6773 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.6604, allocations: 107.2 kB / 0.6774 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.6611, allocations: 0.5067 MB / 0.6779 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.6612, allocations: 41.64 kB / 0.6779 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.6614, allocations: 324.2 kB / 0.6782 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.6616, allocations: 181.4 kB / 0.6784 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.6618, allocations: 134.2 kB / 0.6785 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.662, allocations: 374.8 kB / 0.6789 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.6627, allocations: 275.3 kB / 0.6792 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.6635, allocations: 439.3 kB / 0.6796 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.6649, allocations: 0.6791 MB / 0.6803 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6649, allocations: 0 / 0.6803 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002465/0.6674, allocations: 0.9636 MB / 0.6812 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6675, allocations: 8 kB / 0.6812 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6675, allocations: 8 kB / 0.6812 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.6698, allocations: 456.4 kB / 0.6816 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.6703, allocations: 127.8 kB / 0.6818 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.6718, allocations: 0.92 MB / 0.6827 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/0.6725, allocations: 83.92 kB / 0.6827 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.6726, allocations: 31.98 kB / 0.6828 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008905/0.6735, allocations: 410.1 kB / 0.6832 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007829/0.6743, allocations: 422.7 kB / 0.6836 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.6757, allocations: 0.6721 MB / 0.6842 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.6757, allocations: 0 / 0.6842 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00232/0.678, allocations: 0.9087 MB / 0.6851 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6781, allocations: 7.938 kB / 0.6851 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6781, allocations: 4 kB / 0.6851 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.6796, allocations: 325 kB / 0.6854 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.68, allocations: 131.8 kB / 0.6856 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.6812, allocations: 0.8691 MB / 0.6864 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/0.6819, allocations: 87.83 kB / 0.6865 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.682, allocations: 31.98 kB / 0.6865 GB, free: 0.9219 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.0002725/0.6823, allocations: 220.1 kB / 0.6867 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6824, allocations: 67.23 kB / 0.6868 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2864/0.9688, allocations: 2.872 MB / 0.6896 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/0.9689, allocations: 46.2 kB / 0.6896 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.9689, allocations: 5.062 kB / 0.6896 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9689, allocations: 3.375 kB / 0.6897 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.9734, allocations: 4.06 MB / 0.6936 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.9734, allocations: 7.281 kB / 0.6936 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.9741, allocations: 150.2 kB / 0.6938 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.9744, allocations: 67.78 kB / 0.6938 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.9744, allocations: 24.72 kB / 0.6939 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004948/0.9749, allocations: 1.186 MB / 0.695 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.975, allocations: 4.047 kB / 0.695 GB, free: 153 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.