Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001355/0.001355, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.129/1.129, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001555/0.001555, allocations: 111.4 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.126e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05986/0.05989, allocations: 38.76 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.2984, allocations: 71.6 MB / 372.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001623/0.2986, allocations: 72.39 kB / 372.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04112/0.3397, allocations: 16.03 MB / 388.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3398, allocations: 0 / 388.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.497e-05/0.3398, allocations: 19.98 kB / 388.7 MB, free: 15.61 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002088/0.3419, allocations: 1.07 MB / 389.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.342, allocations: 12.03 kB / 389.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.3422, allocations: 102.9 kB / 389.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.3431, allocations: 0.5271 MB / 390.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3434, allocations: 130.7 kB / 390.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3435, allocations: 43.33 kB / 390.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008336/0.3443, allocations: 493.9 kB / 391.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3453, allocations: 0.7151 MB / 391.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3454, allocations: 0 / 391.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.3454, allocations: 0 / 391.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.3455, allocations: 22.52 kB / 391.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.3487, allocations: 2.041 MB / 393.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3499, allocations: 0.9595 MB / 394.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.3503, allocations: 325.3 kB / 395.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.3504, allocations: 16.77 kB / 395.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3504, allocations: 42.97 kB / 395.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/0.3504, allocations: 0 / 395.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.002001/0.3524, allocations: 0.864 MB / 396 MB, free: 9.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003482/0.3528, allocations: 0.8233 MB / 396.9 MB, free: 8.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.3534, allocations: 478.9 kB / 397.3 MB, free: 8.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.3534, allocations: 33.64 kB / 397.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3537, allocations: 331.9 kB / 397.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3539, allocations: 258.7 kB / 397.9 MB, free: 7.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3539, allocations: 0 / 397.9 MB, free: 7.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3541, allocations: 381.6 kB / 398.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.3544, allocations: 213.6 kB / 398.5 MB, free: 7.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.355, allocations: 483.2 kB / 399 MB, free: 6.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.3554, allocations: 249.1 kB / 399.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3554, allocations: 0 / 399.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001965/0.3574, allocations: 0.9116 MB / 400.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.3574, allocations: 95.78 kB / 400.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3575, allocations: 7.938 kB / 400.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/0.358, allocations: 198.7 kB / 400.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.3587, allocations: 158.9 kB / 400.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006139/0.3649, allocations: 5.995 MB / 406.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/0.3657, allocations: 103.4 kB / 406.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/0.3658, allocations: 25.61 kB / 406.7 MB, free: 15.4 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.3661, allocations: 137 kB / 406.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.3663, allocations: 79.16 kB / 406.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3666, allocations: 79.75 kB / 407 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3666, allocations: 8 kB / 407 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3666, allocations: 0 / 407 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/0.3685, allocations: 1.149 MB / 408.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.3718, allocations: 1.772 MB / 409.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3718, allocations: 0 / 409.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.3726, allocations: 159.8 kB / 410.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.373, allocations: 162.5 kB / 410.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.373, allocations: 8 kB / 410.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/0.3779, allocations: 4.631 MB / 414.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3779, allocations: 7.984 kB / 414.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.3803, allocations: 1.246 MB / 416.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.3805, allocations: 168 kB / 416.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.3807, allocations: 0 / 416.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.3812, allocations: 47.95 kB / 416.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.3814, allocations: 64.69 kB / 416.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.3814, allocations: 19.98 kB / 416.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004784/0.3819, allocations: 374.9 kB / 416.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3819, allocations: 0 / 416.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008572/0.3828, allocations: 267.5 kB / 417.1 MB, free: 4.742 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.383, allocations: 120.5 kB / 417.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.3846, allocations: 1.198 MB / 418.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3846, allocations: 0 / 418.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3857, allocations: 0.707 MB / 419.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.3865, allocations: 188.3 kB / 419.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3889, allocations: 1.258 MB / 420.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.3894, allocations: 0.9598 MB / 421.5 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000423/0.3899, allocations: 94 kB / 421.6 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.39, allocations: 63.36 kB / 421.6 MB, free: 0 / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3901, allocations: 0 / 421.6 MB, free: 0 / 298.7 MB Notification: Performance of Templates: time 0.02329/0.4134, allocations: 14.31 MB / 436 MB, free: 1.66 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)