Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2888/0.2888, allocations: 40 MB / 310.4 MB, free: 9.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005271/0.0005272, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.099, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.2044/0.3034, allocations: 35.45 MB / 472.2 MB, free: 33.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3204, allocations: 17.85 MB / 490.1 MB, free: 21.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.3217, allocations: 31.44 kB / 490.1 MB, free: 21.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3232, allocations: 426.2 kB / 490.5 MB, free: 21.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.3337, allocations: 4.16 MB / 494.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006952/0.3407, allocations: 2.931 MB / 497.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.3422, allocations: 1.009 MB / 498.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.3427, allocations: 384.5 kB / 499 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3438, allocations: 0.654 MB / 499.6 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008383/0.3522, allocations: 5.844 MB / 0.4936 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.3524, allocations: 31.5 kB / 0.4937 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/0.3673, allocations: 7.603 MB / 0.5011 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.3677, allocations: 152.6 kB / 0.5012 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.368, allocations: 176.5 kB / 0.5014 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007888/0.3759, allocations: 3.607 MB / 0.5049 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.376, allocations: 1.406 kB / 0.5049 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.376, allocations: 0 / 0.5049 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.376, allocations: 0 / 0.5049 GB, free: 13.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005033/0.381, allocations: 1.561 MB / 0.5065 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3811, allocations: 8.781 kB / 0.5065 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.3834, allocations: 336.5 kB / 0.5068 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.3842, allocations: 0.522 MB / 0.5073 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.3843, allocations: 51 kB / 0.5073 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.3844, allocations: 53.12 kB / 0.5074 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.3865, allocations: 1.015 MB / 0.5084 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3865, allocations: 1.125 kB / 0.5084 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.3866, allocations: 35.55 kB / 0.5084 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.3866, allocations: 21.62 kB / 0.5084 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.3889, allocations: 0.9269 MB / 0.5094 GB, free: 10.82 MB / 382.1 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.004627/0.3935, allocations: 4.948 MB / 0.5142 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.3959, allocations: 0.854 MB / 0.515 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04762/0.4435, allocations: 24.57 MB / 0.539 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.4436, allocations: 38.92 kB / 0.539 GB, free: 12.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.805e-06/0.4436, allocations: 0 / 0.539 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.006764/0.4504, allocations: 1.836 MB / 0.5408 GB, free: 10.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.4505, allocations: 110.8 kB / 0.5409 GB, free: 10.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.4512, allocations: 0.5145 MB / 0.5414 GB, free: 9.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.4513, allocations: 29.7 kB / 0.5415 GB, free: 9.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4516, allocations: 335.9 kB / 0.5418 GB, free: 9.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.4517, allocations: 161.7 kB / 0.5419 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.4518, allocations: 12 kB / 0.542 GB, free: 9.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4519, allocations: 362.8 kB / 0.5423 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.4526, allocations: 281.1 kB / 0.5426 GB, free: 8.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.4533, allocations: 460.2 kB / 0.543 GB, free: 7.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.454, allocations: 312.6 kB / 0.5433 GB, free: 7.684 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4541, allocations: 0 / 0.5433 GB, free: 7.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001948/0.456, allocations: 0.9061 MB / 0.5442 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007208/0.4568, allocations: 2.008 MB / 0.5462 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4568, allocations: 8 kB / 0.5462 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.4586, allocations: 360.5 kB / 0.5465 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.4592, allocations: 139.8 kB / 0.5466 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.4603, allocations: 0.8333 MB / 0.5475 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.4612, allocations: 123.3 kB / 0.5476 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.4612, allocations: 35.98 kB / 0.5476 GB, free: 3.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4613, allocations: 7.938 kB / 0.5476 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002043/0.4633, allocations: 0.8465 MB / 0.5484 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4633, allocations: 8 kB / 0.5485 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/0.4643, allocations: 216.7 kB / 0.5487 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.4649, allocations: 151.7 kB / 0.5488 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.4659, allocations: 0.787 MB / 0.5496 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.4666, allocations: 107.5 kB / 0.5497 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.4667, allocations: 31.98 kB / 0.5497 GB, free: 0.9062 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.4671, allocations: 296.9 kB / 0.55 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4672, allocations: 63.25 kB / 0.55 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/0.4714, allocations: 3.172 MB / 0.5531 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.4715, allocations: 43.94 kB / 0.5532 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4715, allocations: 3.984 kB / 0.5532 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4715, allocations: 0 / 0.5532 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4731, allocations: 1.509 MB / 0.5547 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4732, allocations: 0 / 0.5547 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.4735, allocations: 103.9 kB / 0.5548 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/0.4757, allocations: 1.075 MB / 0.5558 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.4757, allocations: 19.5 kB / 0.5558 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4773, allocations: 1.496 MB / 0.5573 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4773, allocations: 7.969 kB / 0.5573 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.4803, allocations: 2.134 MB / 0.5594 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.4808, allocations: 350.6 kB / 0.5597 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4809, allocations: 12 kB / 0.5597 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.4814, allocations: 79.78 kB / 0.5598 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.4816, allocations: 60.47 kB / 0.5599 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.4817, allocations: 19.98 kB / 0.5599 GB, free: 6.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005849/0.4822, allocations: 463 kB / 0.5603 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4823, allocations: 0 / 0.5603 GB, free: 5.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005441/0.4877, allocations: 1.374 MB / 0.5617 GB, free: 4.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.006604/0.4943, allocations: 1.366 MB / 0.563 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.4973, allocations: 1.45 MB / 0.5644 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4974, allocations: 4 kB / 0.5644 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4985, allocations: 0.8393 MB / 0.5652 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.5003, allocations: 322.5 kB / 0.5655 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.5038, allocations: 2.97 MB / 0.5684 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.5045, allocations: 1.166 MB / 0.5696 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.5057, allocations: 0.7667 MB / 0.5703 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.5058, allocations: 67.42 kB / 0.5704 GB, free: 11.53 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5058, allocations: 0 / 0.5704 GB, free: 11.53 MB / 446.1 MB Notification: Performance of Templates: time 0.06731/0.5732, allocations: 49.37 MB / 0.6186 GB, free: 10.14 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) Environment - environmentSimulation: