Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") [: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.1+maint.om/package.mo): time 0.004414/0.004414, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.576/1.576, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001777/0.001777, allocations: 131.8 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.079e-05/1.083e-05, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09966, allocations: 38.75 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.969/7.069, allocations: 2.56 GB / 2.853 GB, free: 79.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/7.07, allocations: 82.09 kB / 2.853 GB, free: 79.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.875/8.945, allocations: 479 MB / 3.321 GB, free: 16.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.682e-05/8.945, allocations: 15.83 kB / 3.321 GB, free: 16.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.009379/8.954, allocations: 1.813 MB / 3.323 GB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.335e-05/8.954, allocations: 8.031 kB / 3.323 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/8.957, allocations: 280.5 kB / 3.323 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/8.959, allocations: 0.5054 MB / 3.323 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/8.959, allocations: 20 kB / 3.323 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/8.959, allocations: 36 kB / 3.324 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001248/8.961, allocations: 474.5 kB / 3.324 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/8.962, allocations: 0.6395 MB / 3.325 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/8.962, allocations: 4 kB / 3.325 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/8.962, allocations: 8 kB / 3.325 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/8.962, allocations: 12 kB / 3.325 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3742/9.336, allocations: 66.1 MB / 3.389 GB, free: 42.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/9.337, allocations: 317.5 kB / 3.389 GB, free: 42.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/9.338, allocations: 173.5 kB / 3.39 GB, free: 42.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1551/9.493, allocations: 55.92 MB / 3.444 GB, free: 24.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007523/9.494, allocations: 323 kB / 3.445 GB, free: 24.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 4.268e-06/9.494, allocations: 0 / 3.445 GB, free: 24.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.008181/9.502, allocations: 2.03 MB / 3.447 GB, free: 23.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/9.502, allocations: 219.6 kB / 3.447 GB, free: 23.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/9.503, allocations: 376.8 kB / 3.447 GB, free: 23.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/9.503, allocations: 30.55 kB / 3.447 GB, free: 23.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/9.503, allocations: 291.3 kB / 3.447 GB, free: 23.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/9.504, allocations: 172.7 kB / 3.448 GB, free: 23.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/9.504, allocations: 2.297 kB / 3.448 GB, free: 23.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/9.504, allocations: 371.9 kB / 3.448 GB, free: 22.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/9.504, allocations: 203.9 kB / 3.448 GB, free: 22.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/9.505, allocations: 391.1 kB / 3.449 GB, free: 22.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/9.506, allocations: 353.6 kB / 3.449 GB, free: 22.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/9.506, allocations: 3.438 kB / 3.449 GB, free: 22.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003345/9.51, allocations: 1.056 MB / 3.45 GB, free: 22.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/9.51, allocations: 5.75 kB / 3.45 GB, free: 22.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/9.51, allocations: 3.812 kB / 3.45 GB, free: 22.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007913/9.511, allocations: 160.5 kB / 3.45 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/9.511, allocations: 139.5 kB / 3.45 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/9.512, allocations: 0.7781 MB / 3.451 GB, free: 22.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/9.513, allocations: 59.81 kB / 3.451 GB, free: 22.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/9.513, allocations: 38.67 kB / 3.451 GB, free: 22.11 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.evaporator.V_v:DUMMY_DER(fixed = false ) "volume of vapour phase" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003756/9.514, allocations: 197.2 kB / 3.451 GB, free: 21.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008907/9.515, allocations: 270.2 kB / 3.451 GB, free: 21.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/9.518, allocations: 2.355 MB / 3.454 GB, free: 21.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/9.519, allocations: 24.91 kB / 3.454 GB, free: 21.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/9.519, allocations: 3.938 kB / 3.454 GB, free: 21.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/9.519, allocations: 9.656 kB / 3.454 GB, free: 21.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/9.523, allocations: 3.167 MB / 3.457 GB, free: 21.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/9.523, allocations: 0 / 3.457 GB, free: 21.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/9.523, allocations: 76.22 kB / 3.457 GB, free: 21.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008754/9.524, allocations: 253.6 kB / 3.457 GB, free: 21.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/9.524, allocations: 16.69 kB / 3.457 GB, free: 21.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/9.526, allocations: 0.9271 MB / 3.458 GB, free: 20.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/9.526, allocations: 0 / 3.458 GB, free: 20.77 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0041/9.53, allocations: 2.53 MB / 3.461 GB, free: 20.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/9.53, allocations: 160.1 kB / 3.461 GB, free: 20.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/9.531, allocations: 7.906 kB / 3.461 GB, free: 20.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/9.531, allocations: 39.12 kB / 3.461 GB, free: 20.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/9.531, allocations: 40.11 kB / 3.461 GB, free: 20.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/9.531, allocations: 32.59 kB / 3.461 GB, free: 20.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004202/9.532, allocations: 282.5 kB / 3.461 GB, free: 20.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007726/9.54, allocations: 1.189 MB / 3.462 GB, free: 20.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 23 ($cse1.region3boundary,$cse2.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01304/9.553, allocations: 1.994 MB / 3.464 GB, free: 20.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/9.555, allocations: 1.198 MB / 3.465 GB, free: 19.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/9.555, allocations: 0 / 3.465 GB, free: 19.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/9.557, allocations: 1.088 MB / 3.466 GB, free: 19.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/9.558, allocations: 203.9 kB / 3.467 GB, free: 19.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/9.562, allocations: 1.673 MB / 3.468 GB, free: 19.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/9.564, allocations: 1.099 MB / 3.469 GB, free: 18.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/9.564, allocations: 0 / 3.469 GB, free: 18.8 MB / 394.7 MB Notification: Performance of Templates: time 0.07552/9.64, allocations: 39.73 MB / 3.508 GB, free: 2.938 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1)