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.0009614/0.0009615, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.474/1.474, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001646/0.001646, allocations: 117.2 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1991/0.1991, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.422e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.52/6.633, allocations: 2.617 GB / 3.055 GB, free: 49.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/6.634, allocations: 83.02 kB / 3.055 GB, free: 49.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702/8.336, allocations: 433 MB / 3.478 GB, free: 58.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.394e-06/8.336, allocations: 0.8438 kB / 3.478 GB, free: 58.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.336e-05/8.336, allocations: 21.28 kB / 3.478 GB, free: 58.87 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.006345/8.342, allocations: 1.762 MB / 3.479 GB, free: 58.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/8.342, allocations: 9.625 kB / 3.479 GB, free: 58.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/8.345, allocations: 350.7 kB / 3.48 GB, free: 58.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/8.346, allocations: 0.5874 MB / 3.48 GB, free: 57.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/8.346, allocations: 27.69 kB / 3.48 GB, free: 57.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/8.346, allocations: 36.67 kB / 3.48 GB, free: 57.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/8.347, allocations: 0.5507 MB / 3.481 GB, free: 57.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/8.348, allocations: 0.6665 MB / 3.481 GB, free: 57.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/8.348, allocations: 3.328 kB / 3.481 GB, free: 57.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/8.348, allocations: 6.281 kB / 3.481 GB, free: 57.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/8.348, allocations: 22.55 kB / 3.481 GB, free: 57.78 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.07438/8.423, allocations: 36.72 MB / 3.517 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/8.423, allocations: 358.6 kB / 3.518 GB, free: 39.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/8.424, allocations: 202.3 kB / 3.518 GB, free: 39.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03488/8.459, allocations: 20.28 MB / 3.538 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/8.459, allocations: 41.81 kB / 3.538 GB, free: 25.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.926e-06/8.459, allocations: 0 / 3.538 GB, free: 25.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.02304/8.482, allocations: 3.3 MB / 3.541 GB, free: 25.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/8.482, allocations: 113.8 kB / 3.541 GB, free: 24.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/8.483, allocations: 404.7 kB / 3.541 GB, free: 24.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.082e-05/8.483, allocations: 25.7 kB / 3.541 GB, free: 24.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/8.483, allocations: 359.8 kB / 3.542 GB, free: 24.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/8.483, allocations: 195.6 kB / 3.542 GB, free: 24.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/8.483, allocations: 0 / 3.542 GB, free: 24.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/8.483, allocations: 365.3 kB / 3.542 GB, free: 24.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/8.484, allocations: 276.5 kB / 3.543 GB, free: 24.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/8.484, allocations: 490.4 kB / 3.543 GB, free: 23.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/8.486, allocations: 481 kB / 3.544 GB, free: 23.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/8.486, allocations: 3.953 kB / 3.544 GB, free: 23.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003002/8.489, allocations: 1.14 MB / 3.545 GB, free: 23.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006025/8.49, allocations: 2.444 MB / 3.547 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/8.49, allocations: 5.875 kB / 3.547 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/8.492, allocations: 0.5652 MB / 3.548 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/8.493, allocations: 168.2 kB / 3.548 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/8.495, allocations: 1.75 MB / 3.549 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/8.496, allocations: 105.1 kB / 3.55 GB, free: 20.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/8.496, allocations: 48.22 kB / 3.55 GB, free: 20.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/8.496, allocations: 3.812 kB / 3.55 GB, free: 20.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003102/8.499, allocations: 0.9568 MB / 3.551 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/8.499, allocations: 7.969 kB / 3.551 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/8.501, allocations: 367.2 kB / 3.551 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/8.501, allocations: 170.8 kB / 3.551 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/8.503, allocations: 1.476 MB / 3.552 GB, free: 19.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008551/8.503, allocations: 83.53 kB / 3.553 GB, free: 19.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/8.504, allocations: 45.41 kB / 3.553 GB, free: 19.05 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0003169/8.504, allocations: 130.1 kB / 3.553 GB, free: 18.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/8.504, allocations: 74 kB / 3.553 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004959/8.509, allocations: 3.355 MB / 3.556 GB, free: 18.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/8.509, allocations: 39.42 kB / 3.556 GB, free: 18.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/8.509, allocations: 3.938 kB / 3.556 GB, free: 18.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/8.509, allocations: 7 kB / 3.556 GB, free: 18.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/8.515, allocations: 4.292 MB / 3.56 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/8.515, allocations: 0 / 3.56 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/8.516, allocations: 96.98 kB / 3.56 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/8.518, allocations: 1.542 MB / 3.562 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/8.518, allocations: 15.73 kB / 3.562 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/8.522, allocations: 2.622 MB / 3.565 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/8.522, allocations: 1.969 kB / 3.565 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/8.526, allocations: 2.332 MB / 3.567 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/8.526, allocations: 303.3 kB / 3.567 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/8.527, allocations: 6.375 kB / 3.567 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/8.528, allocations: 83.38 kB / 3.567 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/8.528, allocations: 57.22 kB / 3.567 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/8.528, allocations: 36.42 kB / 3.567 GB, free: 32.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006674/8.529, allocations: 357.1 kB / 3.568 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/8.529, allocations: 0 / 3.568 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008191/8.537, allocations: 1.517 MB / 3.569 GB, free: 32.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01343/8.55, allocations: 1.935 MB / 3.571 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003777/8.554, allocations: 1.568 MB / 3.572 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/8.554, allocations: 0 / 3.572 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/8.555, allocations: 0.8962 MB / 3.573 GB, free: 31.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/8.557, allocations: 267.4 kB / 3.574 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/8.561, allocations: 1.762 MB / 3.575 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/8.561, allocations: 1.13 MB / 3.576 GB, free: 30.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001501/8.563, allocations: 0.7435 MB / 3.577 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/8.563, allocations: 59.56 kB / 3.577 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/8.563, allocations: 0 / 3.577 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.06717/8.63, allocations: 44.93 MB / 3.621 GB, free: 23.3 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)