Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001375/0.001374, allocations: 176 kB / 7.652 MB, free: 1.426 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.607/1.607, allocations: 194.3 MB / 202.4 MB, free: 13.02 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.001619/0.00162, allocations: 108 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1962/0.1962, allocations: 39.96 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/6.639, allocations: 2.612 GB / 3.05 GB, free: 148.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/6.64, allocations: 89.91 kB / 3.05 GB, free: 148.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.468/8.108, allocations: 432 MB / 3.471 GB, free: 55.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/8.108, allocations: 0 / 3.471 GB, free: 55.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.674e-05/8.108, allocations: 16.41 kB / 3.472 GB, free: 55.38 MB / 474.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.007369/8.116, allocations: 1.746 MB / 3.473 GB, free: 54.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/8.116, allocations: 9.812 kB / 3.473 GB, free: 54.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/8.118, allocations: 330.7 kB / 3.474 GB, free: 54.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/8.12, allocations: 0.5786 MB / 3.474 GB, free: 53.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/8.12, allocations: 27.92 kB / 3.474 GB, free: 53.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/8.12, allocations: 30.78 kB / 3.474 GB, free: 53.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/8.121, allocations: 0.5305 MB / 3.475 GB, free: 53.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/8.122, allocations: 0.6536 MB / 3.475 GB, free: 53.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/8.123, allocations: 3.938 kB / 3.475 GB, free: 53.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/8.123, allocations: 3 kB / 3.475 GB, free: 53.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/8.123, allocations: 22.12 kB / 3.475 GB, free: 53.39 MB / 474.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.07607/8.199, allocations: 36.62 MB / 3.511 GB, free: 30.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/8.199, allocations: 331.6 kB / 3.511 GB, free: 29.83 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/8.2, allocations: 195.9 kB / 3.512 GB, free: 29.65 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03643/8.236, allocations: 20.04 MB / 3.531 GB, free: 9.727 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/8.236, allocations: 38.89 kB / 3.531 GB, free: 9.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/8.236, allocations: 0 / 3.531 GB, free: 9.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.02339/8.26, allocations: 3.259 MB / 3.534 GB, free: 6.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/8.26, allocations: 111.4 kB / 3.535 GB, free: 6.387 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/8.261, allocations: 409.9 kB / 3.535 GB, free: 5.984 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/8.261, allocations: 25.7 kB / 3.535 GB, free: 5.953 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/8.261, allocations: 367.4 kB / 3.535 GB, free: 5.586 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/8.261, allocations: 177.3 kB / 3.535 GB, free: 5.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/8.261, allocations: 0 / 3.535 GB, free: 5.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/8.261, allocations: 370.8 kB / 3.536 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/8.262, allocations: 265.5 kB / 3.536 GB, free: 4.781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/8.262, allocations: 480.5 kB / 3.537 GB, free: 4.219 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/8.264, allocations: 470.9 kB / 3.537 GB, free: 3.758 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/8.264, allocations: 4 kB / 3.537 GB, free: 3.754 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002953/8.267, allocations: 1.109 MB / 3.538 GB, free: 2.637 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006783/8.268, allocations: 2.444 MB / 3.54 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/8.268, allocations: 4 kB / 3.54 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/8.27, allocations: 0.5701 MB / 3.541 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/8.271, allocations: 159.8 kB / 3.541 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/8.274, allocations: 1.753 MB / 3.543 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/8.275, allocations: 99.91 kB / 3.543 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/8.275, allocations: 43.97 kB / 3.543 GB, free: 13.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/8.275, allocations: 8 kB / 3.543 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003491/8.279, allocations: 0.9321 MB / 3.544 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/8.279, allocations: 7.938 kB / 3.544 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/8.28, allocations: 365.7 kB / 3.544 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/8.281, allocations: 163.8 kB / 3.544 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/8.283, allocations: 1.462 MB / 3.546 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009874/8.284, allocations: 95.88 kB / 3.546 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/8.284, allocations: 39.98 kB / 3.546 GB, free: 10.2 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 (65): * Single equations (assignments): 63 * 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.0003685/8.284, allocations: 132.7 kB / 3.546 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/8.285, allocations: 63.25 kB / 3.546 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/8.29, allocations: 3.286 MB / 3.549 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/8.29, allocations: 43.22 kB / 3.549 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/8.29, allocations: 0 / 3.549 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/8.29, allocations: 3.984 kB / 3.549 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/8.297, allocations: 4.232 MB / 3.554 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/8.297, allocations: 0 / 3.554 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/8.297, allocations: 91.91 kB / 3.554 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00296/8.3, allocations: 1.519 MB / 3.555 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/8.3, allocations: 15.98 kB / 3.555 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/8.304, allocations: 2.627 MB / 3.558 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/8.304, allocations: 0 / 3.558 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/8.307, allocations: 2.286 MB / 3.56 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/8.308, allocations: 303.1 kB / 3.56 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/8.308, allocations: 3.984 kB / 3.56 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/8.309, allocations: 79.83 kB / 3.56 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/8.309, allocations: 60.41 kB / 3.56 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/8.309, allocations: 35.92 kB / 3.56 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005618/8.31, allocations: 350.9 kB / 3.561 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.01e-07/8.31, allocations: 0 / 3.561 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008048/8.318, allocations: 1.503 MB / 3.562 GB, free: 9.418 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * 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.01207/8.33, allocations: 1.928 MB / 3.564 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00361/8.334, allocations: 1.525 MB / 3.566 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/8.334, allocations: 3.938 kB / 3.566 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/8.335, allocations: 0.8975 MB / 3.566 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/8.337, allocations: 269.6 kB / 3.567 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/8.34, allocations: 1.729 MB / 3.568 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/8.341, allocations: 1.127 MB / 3.57 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001457/8.342, allocations: 0.7377 MB / 3.57 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/8.342, allocations: 51.42 kB / 3.57 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/8.342, allocations: 0 / 3.57 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of Templates: time 0.3321/8.674, allocations: 44.6 MB / 3.614 GB, free: 82.42 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1)