Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, 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.37/1.37, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 102 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3457/0.3457, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.22 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3306, allocations: 62.01 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.03466/0.3653, allocations: 43.09 MB / 0.5572 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.3931, allocations: 21.38 MB / 0.5781 GB, free: 7.848 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3943, allocations: 25.84 kB / 0.5781 GB, free: 7.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.3956, allocations: 387.3 kB / 0.5785 GB, free: 7.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.4093, allocations: 4.202 MB / 0.5826 GB, free: 4.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006496/0.4158, allocations: 2.117 MB / 0.5847 GB, free: 2.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.4186, allocations: 2.148 MB / 0.5868 GB, free: 160 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.4194, allocations: 397.3 kB / 0.5871 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.4209, allocations: 0.6769 MB / 0.5878 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007704/0.4287, allocations: 3.654 MB / 0.5914 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.4289, allocations: 32 kB / 0.5914 GB, free: 11.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.4449, allocations: 7.797 MB / 0.599 GB, free: 3.527 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.4452, allocations: 163.3 kB / 0.5992 GB, free: 3.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005899/0.4458, allocations: 394 kB / 0.5996 GB, free: 2.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4591, allocations: 5.34 MB / 0.6048 GB, free: 13.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4591, allocations: 0 / 0.6048 GB, free: 13.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4592, allocations: 0 / 0.6048 GB, free: 13.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.4592, allocations: 0 / 0.6048 GB, free: 13.63 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.004729/0.4639, allocations: 1.688 MB / 0.6064 GB, free: 11.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.464, allocations: 12.03 kB / 0.6064 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.4664, allocations: 303.7 kB / 0.6067 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.4675, allocations: 0.5327 MB / 0.6072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.4676, allocations: 49.25 kB / 0.6073 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4677, allocations: 63.88 kB / 0.6073 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.4702, allocations: 0.9711 MB / 0.6083 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.4703, allocations: 7.938 kB / 0.6083 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.4704, allocations: 28 kB / 0.6083 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.4704, allocations: 21 kB / 0.6083 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.4729, allocations: 0.8624 MB / 0.6092 GB, free: 8.945 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.006223/0.4792, allocations: 4.545 MB / 0.6136 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.4817, allocations: 0.7693 MB / 0.6144 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.4824, allocations: 306 kB / 0.6147 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.116/0.5984, allocations: 62.07 MB / 0.6753 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.5985, allocations: 35 kB / 0.6753 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 4.569e-06/0.5985, allocations: 4 kB / 0.6753 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.007117/0.6056, allocations: 2.217 MB / 0.6775 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.6057, allocations: 111.2 kB / 0.6776 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.6064, allocations: 0.5066 MB / 0.6781 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.6065, allocations: 37.7 kB / 0.6781 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.6067, allocations: 324.2 kB / 0.6784 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.6069, allocations: 173.5 kB / 0.6786 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.6071, allocations: 142.2 kB / 0.6787 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6073, allocations: 366.8 kB / 0.6791 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.608, allocations: 275.3 kB / 0.6794 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.6088, allocations: 448.2 kB / 0.6798 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.6103, allocations: 0.6909 MB / 0.6805 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6103, allocations: 4 kB / 0.6805 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002364/0.6126, allocations: 0.9516 MB / 0.6814 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6127, allocations: 11.28 kB / 0.6814 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6127, allocations: 8 kB / 0.6814 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.6148, allocations: 448.2 kB / 0.6818 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.6153, allocations: 131.8 kB / 0.682 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.6168, allocations: 0.9013 MB / 0.6828 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.6176, allocations: 83.81 kB / 0.6829 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.6177, allocations: 35.98 kB / 0.683 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008573/0.6185, allocations: 413.2 kB / 0.6833 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007553/0.6193, allocations: 434.6 kB / 0.6838 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/0.6207, allocations: 0.6605 MB / 0.6844 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.098e-05/0.6207, allocations: 7.938 kB / 0.6844 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002247/0.6229, allocations: 0.917 MB / 0.6853 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.623, allocations: 11.94 kB / 0.6853 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.623, allocations: 7.938 kB / 0.6853 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.6245, allocations: 334.3 kB / 0.6856 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.6251, allocations: 131.8 kB / 0.6858 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.6263, allocations: 0.8763 MB / 0.6866 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.627, allocations: 75.84 kB / 0.6867 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.627, allocations: 39.98 kB / 0.6867 GB, free: 0.7305 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.0003084/0.6274, allocations: 221.9 kB / 0.687 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.6276, allocations: 71.25 kB / 0.687 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2394/0.867, allocations: 2.882 MB / 0.6898 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.867, allocations: 40.3 kB / 0.6899 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.8671, allocations: 4.719 kB / 0.6899 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8671, allocations: 3.281 kB / 0.6899 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004436/0.8715, allocations: 4.084 MB / 0.6939 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8716, allocations: 1.688 kB / 0.6939 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/0.8722, allocations: 153.6 kB / 0.694 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.8726, allocations: 70.06 kB / 0.6941 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.8726, allocations: 22.09 kB / 0.6941 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004404/0.8731, allocations: 1.176 MB / 0.6953 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8731, allocations: 0 / 0.6953 GB, free: 152.7 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.