Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 177 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.488/1.488, allocations: 194.4 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.001614/0.001614, allocations: 112.3 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.2053/0.2053, allocations: 39.96 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.856e-05, allocations: 0 / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3062, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.838/6.144, allocations: 2.612 GB / 3.049 GB, free: 148.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/6.145, allocations: 89.31 kB / 3.05 GB, free: 148.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452/7.596, allocations: 432.2 MB / 3.472 GB, free: 55.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/7.596, allocations: 0 / 3.472 GB, free: 55.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.682e-05/7.596, allocations: 21.5 kB / 3.472 GB, free: 55.46 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.006246/7.603, allocations: 1.765 MB / 3.473 GB, free: 54.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/7.603, allocations: 11.47 kB / 3.473 GB, free: 54.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/7.605, allocations: 331.2 kB / 3.474 GB, free: 54.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/7.606, allocations: 0.5854 MB / 3.474 GB, free: 54.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/7.606, allocations: 29.02 kB / 3.474 GB, free: 54.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/7.606, allocations: 33.44 kB / 3.474 GB, free: 54.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000859/7.607, allocations: 0.5378 MB / 3.475 GB, free: 53.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/7.608, allocations: 0.6524 MB / 3.475 GB, free: 53.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/7.608, allocations: 6.781 kB / 3.475 GB, free: 53.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/7.608, allocations: 3.5 kB / 3.475 GB, free: 53.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/7.608, allocations: 18.72 kB / 3.475 GB, free: 53.46 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.1443/7.753, allocations: 68.51 MB / 3.542 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/7.753, allocations: 335.1 kB / 3.543 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/7.754, allocations: 168.8 kB / 3.543 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03506/7.789, allocations: 17.04 MB / 3.56 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/7.789, allocations: 38.56 kB / 3.56 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.785e-06/7.789, allocations: 0 / 3.56 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.02431/7.813, allocations: 3.265 MB / 3.563 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/7.813, allocations: 107.2 kB / 3.563 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/7.814, allocations: 426 kB / 3.563 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/7.814, allocations: 25.7 kB / 3.563 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/7.815, allocations: 371.2 kB / 3.564 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/7.815, allocations: 185.3 kB / 3.564 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/7.815, allocations: 0 / 3.564 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001964/7.815, allocations: 366.8 kB / 3.564 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/7.816, allocations: 269.5 kB / 3.564 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/7.816, allocations: 483.6 kB / 3.565 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/7.818, allocations: 433.8 kB / 3.565 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/7.818, allocations: 0 / 3.565 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002924/7.821, allocations: 1.086 MB / 3.566 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001258/7.822, allocations: 2.614 MB / 3.569 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/7.822, allocations: 11.94 kB / 3.569 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/7.825, allocations: 0.5507 MB / 3.569 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/7.826, allocations: 175.8 kB / 3.57 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3516/8.177, allocations: 1.768 MB / 3.571 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/8.179, allocations: 127.9 kB / 3.571 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/8.179, allocations: 49.34 kB / 3.572 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/8.179, allocations: 3.922 kB / 3.572 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/8.181, allocations: 0.8168 MB / 3.572 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/8.181, allocations: 7.797 kB / 3.572 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/8.183, allocations: 370.6 kB / 3.573 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/8.184, allocations: 183 kB / 3.573 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/8.185, allocations: 1.471 MB / 3.574 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/8.186, allocations: 100.7 kB / 3.574 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/8.186, allocations: 41.25 kB / 3.574 GB, free: 85.32 MB / 0.4948 GB 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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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.0003078/8.186, allocations: 132.8 kB / 3.575 GB, free: 85.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/8.186, allocations: 68.77 kB / 3.575 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/8.191, allocations: 2.536 MB / 3.577 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/8.191, allocations: 23 kB / 3.577 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/8.191, allocations: 3.375 kB / 3.577 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/8.191, allocations: 0 / 3.577 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/8.195, allocations: 3.273 MB / 3.58 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.934e-06/8.195, allocations: 7.609 kB / 3.58 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/8.195, allocations: 94.86 kB / 3.58 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/8.198, allocations: 1.461 MB / 3.582 GB, free: 84.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/8.198, allocations: 11.97 kB / 3.582 GB, free: 84.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/8.202, allocations: 2.598 MB / 3.584 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/8.202, allocations: 0 / 3.584 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/8.205, allocations: 1.82 MB / 3.586 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/8.205, allocations: 283.8 kB / 3.586 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/8.205, allocations: 3.328 kB / 3.586 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/8.206, allocations: 106 kB / 3.587 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/8.206, allocations: 46.48 kB / 3.587 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/8.206, allocations: 22.94 kB / 3.587 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000497/8.207, allocations: 436.3 kB / 3.587 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/8.207, allocations: 1.969 kB / 3.587 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006199/8.213, allocations: 1.505 MB / 3.588 GB, free: 83.09 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009231/8.222, allocations: 1.918 MB / 3.59 GB, free: 82.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00332/8.225, allocations: 1.306 MB / 3.592 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/8.225, allocations: 0 / 3.592 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/8.227, allocations: 0.6187 MB / 3.592 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/8.228, allocations: 251.6 kB / 3.592 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/8.23, allocations: 1.357 MB / 3.594 GB, free: 82.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/8.231, allocations: 1.054 MB / 3.595 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001218/8.232, allocations: 0.7769 MB / 3.596 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/8.232, allocations: 51.61 kB / 3.596 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/8.232, allocations: 0 / 3.596 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.05764/8.29, allocations: 43.6 MB / 3.638 GB, free: 80.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1)