Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001047/0.001048, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.411/1.411, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001917/0.001917, allocations: 103.5 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.33e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08844, allocations: 38.76 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4256, allocations: 71.24 MB / 378.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.426, allocations: 70.84 kB / 378.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02665/0.4526, allocations: 9.77 MB / 388.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4527, allocations: 4 kB / 388.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.4527, allocations: 8 kB / 388.7 MB, free: 12.73 MB / 282.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.001307/0.454, allocations: 0.7329 MB / 389.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.4541, allocations: 12.03 kB / 389.5 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.4543, allocations: 63.25 kB / 389.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.4549, allocations: 382.7 kB / 389.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.455, allocations: 68.31 kB / 390 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.4551, allocations: 37.89 kB / 390 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.4558, allocations: 455.9 kB / 390.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4558, allocations: 0 / 390.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.4559, allocations: 18.12 kB / 390.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4559, allocations: 8 kB / 390.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.4564, allocations: 285.2 kB / 390.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.4585, allocations: 1.327 MB / 392.1 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008782/0.4594, allocations: 428.8 kB / 392.5 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.4596, allocations: 169.7 kB / 392.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.4597, allocations: 4 kB / 392.7 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4597, allocations: 38.44 kB / 392.7 MB, free: 9.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.4598, allocations: 0 / 392.7 MB, free: 9.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008028/0.4606, allocations: 398 kB / 393.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.4608, allocations: 441 kB / 393.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.4613, allocations: 398.9 kB / 393.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.4613, allocations: 37.39 kB / 393.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.4615, allocations: 234.5 kB / 394.2 MB, free: 7.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.4616, allocations: 135.9 kB / 394.3 MB, free: 7.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.4616, allocations: 3.125 kB / 394.3 MB, free: 7.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4618, allocations: 360.2 kB / 394.7 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.462, allocations: 108.9 kB / 394.8 MB, free: 7.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.4623, allocations: 255.2 kB / 395 MB, free: 7.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.4625, allocations: 169.2 kB / 395.2 MB, free: 7.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4626, allocations: 0 / 395.2 MB, free: 7.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007893/0.4634, allocations: 452.8 kB / 395.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.4634, allocations: 33.7 kB / 395.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4634, allocations: 3.938 kB / 395.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.4637, allocations: 56.53 kB / 395.7 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.4641, allocations: 95.38 kB / 395.8 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.4664, allocations: 2.744 MB / 398.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.4668, allocations: 59.03 kB / 398.6 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4669, allocations: 15.42 kB / 398.6 MB, free: 3.648 MB / 282.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.0001242/0.467, allocations: 137.1 kB / 398.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.4671, allocations: 55.34 kB / 398.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.4672, allocations: 60.31 kB / 398.9 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4673, allocations: 4 kB / 398.9 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4673, allocations: 0 / 398.9 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006229/0.4679, allocations: 0.6801 MB / 399.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.4692, allocations: 0.983 MB / 400.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4692, allocations: 0 / 400.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4697, allocations: 99.19 kB / 400.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4697, allocations: 0 / 400.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.4697, allocations: 12.31 kB / 400.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4697, allocations: 0 / 400.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4697, allocations: 7.938 kB / 400.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.4705, allocations: 0.5814 MB / 401.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4706, allocations: 140 kB / 401.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.4707, allocations: 7 kB / 401.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.471, allocations: 40.92 kB / 401.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.4711, allocations: 26.78 kB / 401.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4711, allocations: 11.98 kB / 401.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.4715, allocations: 315.2 kB / 401.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4715, allocations: 0 / 401.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.472, allocations: 138.3 kB / 401.9 MB, free: 0.8008 MB / 282.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.0002179/0.4722, allocations: 121.7 kB / 402 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009142/0.4731, allocations: 0.5934 MB / 402.6 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4731, allocations: 0 / 402.6 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.4734, allocations: 156.2 kB / 402.8 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.474, allocations: 118.6 kB / 402.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4754, allocations: 0.6717 MB / 403.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.4758, allocations: 0.8394 MB / 404.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.4761, allocations: 64.33 kB / 404.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4762, allocations: 41.88 kB / 404.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4762, allocations: 0 / 404.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Templates: time 0.01369/0.4899, allocations: 7.742 MB / 412.2 MB, free: 6.637 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)