Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001217/0.001217, allocations: 100.5 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.001346/0.001347, allocations: 177.3 kB / 15.94 MB, free: 228 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.658/1.658, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3275/0.3275, allocations: 38.02 MB / 308.4 MB, free: 10.43 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.1. 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.0005724/0.0005725, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1171, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.2383/0.3554, allocations: 35.45 MB / 469.4 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.3735, allocations: 17.85 MB / 487.2 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.3746, allocations: 29.44 kB / 487.3 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.3759, allocations: 428.2 kB / 487.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.3885, allocations: 4.157 MB / 491.8 MB, free: 22.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009053/0.3975, allocations: 2.936 MB / 494.8 MB, free: 20.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3994, allocations: 1.014 MB / 495.8 MB, free: 20.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.4, allocations: 383.7 kB / 496.2 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4012, allocations: 0.6487 MB / 496.8 MB, free: 19.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008846/0.41, allocations: 5.849 MB / 0.4909 GB, free: 19.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.4103, allocations: 32.75 kB / 0.4909 GB, free: 19.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01577/0.4261, allocations: 7.602 MB / 0.4983 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.4265, allocations: 154.5 kB / 0.4985 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004707/0.427, allocations: 177.7 kB / 0.4986 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.4373, allocations: 3.594 MB / 0.5022 GB, free: 16.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4373, allocations: 0 / 0.5022 GB, free: 16.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4373, allocations: 0 / 0.5022 GB, free: 16.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.4373, allocations: 0 / 0.5022 GB, free: 16.45 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.00662/0.444, allocations: 1.567 MB / 0.5037 GB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.444, allocations: 9.438 kB / 0.5037 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.4466, allocations: 336.9 kB / 0.504 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4478, allocations: 0.5237 MB / 0.5045 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.4479, allocations: 46.88 kB / 0.5046 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.448, allocations: 62.06 kB / 0.5046 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.4507, allocations: 1.003 MB / 0.5056 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4508, allocations: 5.344 kB / 0.5056 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.4508, allocations: 22.97 kB / 0.5056 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.4509, allocations: 28 kB / 0.5057 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.4534, allocations: 0.9338 MB / 0.5066 GB, free: 14.12 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.005135/0.4585, allocations: 4.943 MB / 0.5114 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.4609, allocations: 0.86 MB / 0.5122 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0511/0.512, allocations: 24.57 MB / 0.5362 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.5121, allocations: 38.62 kB / 0.5363 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 4.117e-06/0.5122, allocations: 0 / 0.5363 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.006957/0.5191, allocations: 1.832 MB / 0.5381 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.5192, allocations: 118.8 kB / 0.5382 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/0.5199, allocations: 0.5144 MB / 0.5387 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.52, allocations: 33.7 kB / 0.5387 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.5203, allocations: 335.9 kB / 0.539 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.5205, allocations: 157.7 kB / 0.5392 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.5205, allocations: 12 kB / 0.5392 GB, free: 13.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5207, allocations: 366.8 kB / 0.5395 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.5213, allocations: 285.1 kB / 0.5398 GB, free: 12.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007619/0.5221, allocations: 456.2 kB / 0.5403 GB, free: 12.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.5228, allocations: 308.6 kB / 0.5405 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5228, allocations: 4 kB / 0.5405 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001972/0.5248, allocations: 0.8982 MB / 0.5414 GB, free: 11.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007837/0.5256, allocations: 2.001 MB / 0.5434 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.5256, allocations: 11.98 kB / 0.5434 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.5276, allocations: 368.4 kB / 0.5437 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.5281, allocations: 127.9 kB / 0.5439 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.5292, allocations: 0.8527 MB / 0.5447 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.5301, allocations: 119.4 kB / 0.5448 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.5302, allocations: 31.98 kB / 0.5448 GB, free: 7.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5302, allocations: 7.938 kB / 0.5448 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002084/0.5323, allocations: 0.8425 MB / 0.5457 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5323, allocations: 11.95 kB / 0.5457 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009709/0.5333, allocations: 212.9 kB / 0.5459 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.5338, allocations: 147.8 kB / 0.546 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009924/0.5348, allocations: 0.7942 MB / 0.5468 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5356, allocations: 107.4 kB / 0.5469 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.5357, allocations: 35.98 kB / 0.5469 GB, free: 5.387 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.0004329/0.5361, allocations: 293.9 kB / 0.5472 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.5363, allocations: 59.25 kB / 0.5473 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.5406, allocations: 3.178 MB / 0.5504 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/0.5407, allocations: 43.92 kB / 0.5504 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5407, allocations: 0 / 0.5504 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5407, allocations: 3.984 kB / 0.5504 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.5425, allocations: 1.504 MB / 0.5519 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5425, allocations: 0 / 0.5519 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.5429, allocations: 103.9 kB / 0.552 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.545, allocations: 1.083 MB / 0.5531 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.5451, allocations: 20 kB / 0.5531 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.5468, allocations: 1.474 MB / 0.5545 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5468, allocations: 3.953 kB / 0.5545 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.5498, allocations: 2.141 MB / 0.5566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/0.5504, allocations: 350.6 kB / 0.5569 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5505, allocations: 8 kB / 0.5569 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.551, allocations: 91.86 kB / 0.557 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5512, allocations: 48.48 kB / 0.5571 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.5512, allocations: 23.92 kB / 0.5571 GB, free: 10.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006045/0.5518, allocations: 467 kB / 0.5575 GB, free: 10.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5518, allocations: 0 / 0.5575 GB, free: 10.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006606/0.5584, allocations: 1.374 MB / 0.5589 GB, free: 9 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.01019/0.5687, allocations: 1.37 MB / 0.5602 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.5723, allocations: 1.462 MB / 0.5617 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.5723, allocations: 3.938 kB / 0.5617 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.5737, allocations: 0.8316 MB / 0.5625 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.5757, allocations: 321 kB / 0.5628 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.5799, allocations: 2.973 MB / 0.5657 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000931/0.5809, allocations: 1.162 MB / 0.5668 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.5822, allocations: 0.7691 MB / 0.5676 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.5824, allocations: 67.42 kB / 0.5676 GB, free: 16 kB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5824, allocations: 0 / 0.5676 GB, free: 16 kB / 430.1 MB Notification: Performance of Templates: time 0.07232/0.6547, allocations: 49.38 MB / 0.6159 GB, free: 14.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) Environment - environmentSimulation: