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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.01095/0.01095, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.844/1.844, allocations: 194.5 MB / 210.3 MB, free: 8.52 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0021/0.0021, allocations: 120.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2413/0.2414, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005191, allocations: 17.58 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.177, allocations: 54.87 MB / 461 MB, free: 3.391 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.513/7.69, allocations: 2.618 GB / 3.068 GB, free: 48.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/7.69, allocations: 88.2 kB / 3.068 GB, free: 48.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385/9.076, allocations: 438.5 MB / 3.496 GB, free: 2.363 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.956e-06/9.076, allocations: 0 / 3.496 GB, free: 2.363 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.747e-05/9.076, allocations: 21.19 kB / 3.496 GB, free: 2.344 MB / 490.7 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.008088/9.084, allocations: 1.841 MB / 3.498 GB, free: 468 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/9.084, allocations: 8.031 kB / 3.498 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/9.087, allocations: 358.2 kB / 3.498 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2826/9.369, allocations: 0.5793 MB / 3.499 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/9.37, allocations: 50.22 kB / 3.499 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/9.37, allocations: 61.06 kB / 3.499 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/9.372, allocations: 1.007 MB / 3.5 GB, free: 51.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/9.372, allocations: 6.656 kB / 3.5 GB, free: 51.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/9.372, allocations: 24.7 kB / 3.5 GB, free: 51.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/9.372, allocations: 22.27 kB / 3.5 GB, free: 51.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/9.375, allocations: 0.9167 MB / 3.501 GB, free: 51.26 MB / 490.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.00538/9.38, allocations: 4.831 MB / 3.506 GB, free: 47.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/9.383, allocations: 0.7504 MB / 3.506 GB, free: 47.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04041/9.423, allocations: 21.64 MB / 3.528 GB, free: 34.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/9.423, allocations: 37.56 kB / 3.528 GB, free: 34.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 4.398e-06/9.423, allocations: 3.812 kB / 3.528 GB, free: 34.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.02761/9.451, allocations: 4.368 MB / 3.532 GB, free: 33.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/9.451, allocations: 111.6 kB / 3.532 GB, free: 33.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/9.452, allocations: 440.8 kB / 3.532 GB, free: 33.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/9.452, allocations: 39.77 kB / 3.532 GB, free: 33.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/9.452, allocations: 348.2 kB / 3.533 GB, free: 33.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/9.452, allocations: 213.3 kB / 3.533 GB, free: 33.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/9.452, allocations: 16.94 kB / 3.533 GB, free: 33.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/9.453, allocations: 371.7 kB / 3.533 GB, free: 32.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008351/9.453, allocations: 384.6 kB / 3.534 GB, free: 32.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/9.454, allocations: 0.5913 MB / 3.534 GB, free: 32.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/9.455, allocations: 435.4 kB / 3.535 GB, free: 32.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/9.455, allocations: 0 / 3.535 GB, free: 32.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002792/9.458, allocations: 1.263 MB / 3.536 GB, free: 32.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004973/9.459, allocations: 2.442 MB / 3.538 GB, free: 29.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/9.459, allocations: 3.969 kB / 3.538 GB, free: 29.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/9.463, allocations: 0.9056 MB / 3.539 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/9.463, allocations: 169.1 kB / 3.539 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/9.466, allocations: 1.697 MB / 3.541 GB, free: 28.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/9.467, allocations: 98.16 kB / 3.541 GB, free: 28.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/9.467, allocations: 46.69 kB / 3.541 GB, free: 28.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/9.467, allocations: 7.844 kB / 3.541 GB, free: 28.76 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002739/9.469, allocations: 1.21 MB / 3.542 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/9.47, allocations: 7.812 kB / 3.542 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/9.472, allocations: 0.6326 MB / 3.543 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/9.473, allocations: 173.6 kB / 3.543 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/9.475, allocations: 1.653 MB / 3.545 GB, free: 27.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/9.476, allocations: 101.4 kB / 3.545 GB, free: 27.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/9.476, allocations: 44.25 kB / 3.545 GB, free: 27.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006182/9.476, allocations: 302.9 kB / 3.545 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/9.477, allocations: 67.2 kB / 3.545 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/9.482, allocations: 3.849 MB / 3.549 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/9.482, allocations: 46.23 kB / 3.549 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/9.482, allocations: 1.969 kB / 3.549 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/9.482, allocations: 6.516 kB / 3.549 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007176/9.489, allocations: 5.189 MB / 3.554 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/9.489, allocations: 3.906 kB / 3.554 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/9.489, allocations: 119.1 kB / 3.554 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004536/9.494, allocations: 1.629 MB / 3.556 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/9.494, allocations: 23.38 kB / 3.556 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/9.497, allocations: 2.374 MB / 3.558 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/9.497, allocations: 0 / 3.558 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/9.5, allocations: 2.635 MB / 3.561 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/9.501, allocations: 351.4 kB / 3.561 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/9.501, allocations: 18.09 kB / 3.561 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008418/9.502, allocations: 101.9 kB / 3.561 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/9.502, allocations: 73.3 kB / 3.561 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/9.502, allocations: 28.08 kB / 3.561 GB, free: 24.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005887/9.503, allocations: 429.9 kB / 3.562 GB, free: 24.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/9.503, allocations: 6.938 kB / 3.562 GB, free: 24.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008337/9.511, allocations: 1.576 MB / 3.563 GB, free: 24.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (52): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01029/9.522, allocations: 1.836 MB / 3.565 GB, free: 24.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004752/9.527, allocations: 2.05 MB / 3.567 GB, free: 24.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/9.527, allocations: 2.625 kB / 3.567 GB, free: 24.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/9.528, allocations: 1.118 MB / 3.568 GB, free: 24.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/9.53, allocations: 297.5 kB / 3.568 GB, free: 24.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1417/9.672, allocations: 78.51 MB / 3.645 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/9.672, allocations: 1.185 MB / 3.646 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001179/9.673, allocations: 0.6547 MB / 3.647 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/9.674, allocations: 70.23 kB / 3.647 GB, free: 10.47 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/9.674, allocations: 7.281 kB / 3.647 GB, free: 10.46 MB / 490.7 MB Notification: Performance of Templates: time 0.3219/9.995, allocations: 50.55 MB / 3.696 GB, free: 62.96 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (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)