Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001127/0.001127, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.457/1.457, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.00164/0.00164, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.307e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06674/0.06678, allocations: 44.51 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/0.335, allocations: 76.58 MB / 426 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.3353, allocations: 74.88 kB / 426.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02244/0.3577, allocations: 9.784 MB / 435.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3578, allocations: 0 / 435.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.3578, allocations: 7.719 kB / 435.9 MB, free: 7.047 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000978/0.3588, allocations: 0.7344 MB / 436.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3588, allocations: 11.53 kB / 436.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3589, allocations: 66.31 kB / 436.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.3594, allocations: 394.2 kB / 437.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.3595, allocations: 59.61 kB / 437.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.3596, allocations: 40.8 kB / 437.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.3601, allocations: 459.5 kB / 437.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3601, allocations: 0 / 437.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.3602, allocations: 13.41 kB / 437.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3602, allocations: 7.469 kB / 437.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.3606, allocations: 284.7 kB / 437.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.3624, allocations: 1.324 MB / 439.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.363, allocations: 440.5 kB / 439.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3632, allocations: 164.2 kB / 439.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.3633, allocations: 7.75 kB / 439.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3633, allocations: 46.03 kB / 439.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.553e-06/0.3633, allocations: 0 / 439.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.000655/0.364, allocations: 392.8 kB / 440.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3641, allocations: 448.5 kB / 440.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3644, allocations: 394.4 kB / 441.1 MB, free: 4.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.3645, allocations: 40.42 kB / 441.1 MB, free: 4.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3646, allocations: 242.1 kB / 441.4 MB, free: 3.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.3647, allocations: 133.1 kB / 441.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.3647, allocations: 5.5 kB / 441.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.3647, allocations: 360.8 kB / 441.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3649, allocations: 110.3 kB / 442 MB, free: 3.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3652, allocations: 251.6 kB / 442.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3654, allocations: 170.2 kB / 442.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3654, allocations: 0 / 442.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006422/0.366, allocations: 452.3 kB / 442.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.3661, allocations: 32.7 kB / 442.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3661, allocations: 0 / 442.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.3663, allocations: 61.05 kB / 442.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.3668, allocations: 100.9 kB / 443 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.3684, allocations: 2.729 MB / 445.7 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.3689, allocations: 70.86 kB / 445.8 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3689, allocations: 15.69 kB / 445.8 MB, free: 312 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.369, allocations: 124.7 kB / 445.9 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.3691, allocations: 59.39 kB / 446 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.3692, allocations: 57.81 kB / 446.1 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-06/0.3692, allocations: 8 kB / 446.1 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3692, allocations: 0 / 446.1 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006814/0.3699, allocations: 0.6709 MB / 446.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3713, allocations: 0.9937 MB / 447.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3713, allocations: 0 / 447.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.3718, allocations: 99.86 kB / 447.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3718, allocations: 4 kB / 447.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.3719, allocations: 6.25 kB / 447.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3719, allocations: 4 kB / 447.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3719, allocations: 0 / 447.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.3727, allocations: 0.5912 MB / 448.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3728, allocations: 134.4 kB / 448.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.3729, allocations: 10.38 kB / 448.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.3732, allocations: 38.28 kB / 448.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.3733, allocations: 19.09 kB / 448.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.3733, allocations: 15.06 kB / 448.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003848/0.3737, allocations: 324.8 kB / 449 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3737, allocations: 0 / 449 MB, free: 13.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.3742, allocations: 141.8 kB / 449.1 MB, free: 13.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001959/0.3744, allocations: 118.1 kB / 449.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.3754, allocations: 0.5848 MB / 449.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3754, allocations: 4 kB / 449.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.3756, allocations: 157.3 kB / 450 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.3762, allocations: 130.4 kB / 450.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3774, allocations: 0.659 MB / 450.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3779, allocations: 0.8433 MB / 451.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.3781, allocations: 56.36 kB / 451.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3783, allocations: 43.42 kB / 451.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3783, allocations: 0 / 451.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of Templates: time 0.01363/0.3919, allocations: 7.844 MB / 459.5 MB, free: 3.215 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)