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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 191.8 kB / 8.139 MB, free: 2.203 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.126/1.126, allocations: 194.2 MB / 202.8 MB, free: 8.816 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.001798/0.001798, allocations: 115.1 kB / 247.7 MB, free: 6.223 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.39e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07057/0.0706, allocations: 44.48 MB / 342 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.26, allocations: 75.84 MB / 417.9 MB, free: 19.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.2603, allocations: 70.39 kB / 418 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02427/0.2845, allocations: 9.478 MB / 427.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.2846, allocations: 11.98 kB / 427.5 MB, free: 11.5 MB / 314.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.001175/0.2858, allocations: 0.7438 MB / 428.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2858, allocations: 8.031 kB / 428.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.286, allocations: 67.25 kB / 428.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.2866, allocations: 395.2 kB / 428.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/0.2867, allocations: 50.48 kB / 428.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.2867, allocations: 20 kB / 428.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004856/0.2872, allocations: 272.7 kB / 429 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.2878, allocations: 409.2 kB / 429.4 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2878, allocations: 0 / 429.4 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.2878, allocations: 4 kB / 429.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2878, allocations: 8 kB / 429.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2898, allocations: 1.249 MB / 430.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.2905, allocations: 412.2 kB / 431.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.2908, allocations: 146.3 kB / 431.2 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.2908, allocations: 10.81 kB / 431.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.2908, allocations: 46.38 kB / 431.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.813e-06/0.2908, allocations: 3.938 kB / 431.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007038/0.2916, allocations: 360.1 kB / 431.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2916, allocations: 447.8 kB / 432 MB, free: 7.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.292, allocations: 340.3 kB / 432.4 MB, free: 7.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.292, allocations: 25.7 kB / 432.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.2921, allocations: 188.9 kB / 432.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.2922, allocations: 124.9 kB / 432.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.2922, allocations: 0 / 432.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2923, allocations: 355.8 kB / 433.1 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2925, allocations: 102.9 kB / 433.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2927, allocations: 246.5 kB / 433.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.2929, allocations: 118.1 kB / 433.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2929, allocations: 4 kB / 433.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006641/0.2936, allocations: 394.8 kB / 433.9 MB, free: 5.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2936, allocations: 4.781 kB / 433.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2936, allocations: 0 / 433.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.2939, allocations: 53.81 kB / 434 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.2944, allocations: 105.7 kB / 434.1 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.296, allocations: 2.63 MB / 436.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.2965, allocations: 55.7 kB / 436.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.2965, allocations: 11.88 kB / 436.8 MB, free: 2.867 MB / 314.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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) 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 (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.0001566/0.2967, allocations: 123.8 kB / 436.9 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.2968, allocations: 47.44 kB / 436.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.2969, allocations: 53.27 kB / 437 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2969, allocations: 4 kB / 437 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2969, allocations: 0 / 437 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004844/0.2974, allocations: 0.6589 MB / 437.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.2986, allocations: 0.9287 MB / 438.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2986, allocations: 0 / 438.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.2992, allocations: 99.38 kB / 438.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.2992, allocations: 8 kB / 438.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2992, allocations: 3.984 kB / 438.7 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2992, allocations: 7.906 kB / 438.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2992, allocations: 0 / 438.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006853/0.2999, allocations: 0.555 MB / 439.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.3, allocations: 132 kB / 439.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.3001, allocations: 0 / 439.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.3005, allocations: 36.03 kB / 439.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.3006, allocations: 23.58 kB / 439.4 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.3006, allocations: 8.219 kB / 439.4 MB, free: 484 kB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002433/0.3009, allocations: 272.7 kB / 439.7 MB, free: 280 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004512/0.3013, allocations: 139.4 kB / 439.8 MB, free: 144 kB / 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.0001678/0.3015, allocations: 107.2 kB / 439.9 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008232/0.3023, allocations: 0.5157 MB / 440.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3024, allocations: 4.062 kB / 440.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.3026, allocations: 145.8 kB / 440.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3032, allocations: 102.4 kB / 440.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3047, allocations: 0.6582 MB / 441.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.3053, allocations: 0.885 MB / 442.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3053, allocations: 0 / 442.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Templates: time 0.0137/0.319, allocations: 7.152 MB / 449.4 MB, free: 6.797 MB / 330.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)