Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 185.8 kB / 8.137 MB, free: 0.8711 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.291/1.291, allocations: 194.2 MB / 202.8 MB, free: 1.992 MB / 162.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001827/0.001827, allocations: 120.4 kB / 247.8 MB, free: 5.004 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 7.183e-06/7.203e-06, allocations: 0 / 297.6 MB, free: 8.16 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08353, allocations: 44.49 MB / 342.1 MB, free: 11.58 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.278/4.362, allocations: 2.669 GB / 3.003 GB, free: 19.59 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/4.362, allocations: 83.89 kB / 3.003 GB, free: 19.51 MB / 402.8 MB Notification: Performance of FrontEnd: time 1.474/5.836, allocations: 490.8 MB / 3.483 GB, free: 9.391 MB / 418.8 MB Notification: Performance of Transformations before backend: time 3.832e-05/5.836, allocations: 16.88 kB / 3.483 GB, free: 9.375 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006281/5.842, allocations: 1.857 MB / 3.485 GB, free: 7.469 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/5.842, allocations: 11.41 kB / 3.485 GB, free: 7.461 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/5.844, allocations: 294.5 kB / 3.485 GB, free: 7.176 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/5.845, allocations: 0.5047 MB / 3.485 GB, free: 6.637 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/5.845, allocations: 20 kB / 3.485 GB, free: 6.617 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/5.845, allocations: 43.28 kB / 3.485 GB, free: 6.578 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000871/5.846, allocations: 494.3 kB / 3.486 GB, free: 6.098 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/5.847, allocations: 0.6511 MB / 3.487 GB, free: 5.387 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/5.847, allocations: 0 / 3.487 GB, free: 5.387 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/5.847, allocations: 7.531 kB / 3.487 GB, free: 5.383 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/5.847, allocations: 16 kB / 3.487 GB, free: 5.367 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2731/6.12, allocations: 66.29 MB / 3.551 GB, free: 34.72 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/6.121, allocations: 331 kB / 3.552 GB, free: 34.69 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/6.121, allocations: 200.7 kB / 3.552 GB, free: 34.68 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1209/6.242, allocations: 55.91 MB / 3.606 GB, free: 32.3 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/6.243, allocations: 348.1 kB / 3.607 GB, free: 32.16 MB / 450.8 MB Notification: Performance of pre-optimization done (n=50): time 3.617e-06/6.243, allocations: 3.094 kB / 3.607 GB, free: 32.16 MB / 450.8 MB Notification: Performance of matching and sorting (n=58): time 0.007563/6.25, allocations: 2.077 MB / 3.609 GB, free: 31.81 MB / 450.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/6.251, allocations: 219.7 kB / 3.609 GB, free: 31.56 MB / 450.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/6.251, allocations: 382.2 kB / 3.609 GB, free: 31.44 MB / 450.8 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/6.251, allocations: 33.08 kB / 3.609 GB, free: 31.41 MB / 450.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/6.251, allocations: 291 kB / 3.61 GB, free: 31.24 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/6.252, allocations: 190.1 kB / 3.61 GB, free: 31.15 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/6.252, allocations: 0 / 3.61 GB, free: 31.15 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0001482/6.252, allocations: 362.6 kB / 3.61 GB, free: 30.84 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/6.252, allocations: 214.8 kB / 3.61 GB, free: 30.84 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/6.253, allocations: 400 kB / 3.611 GB, free: 30.62 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/6.254, allocations: 362 kB / 3.611 GB, free: 30.61 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.254, allocations: 3.781 kB / 3.611 GB, free: 30.61 MB / 450.8 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00298/6.257, allocations: 1.087 MB / 3.612 GB, free: 30.52 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006885/6.258, allocations: 1.915 MB / 3.614 GB, free: 28.51 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/6.258, allocations: 8.953 kB / 3.614 GB, free: 28.51 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/6.258, allocations: 154.4 kB / 3.614 GB, free: 28.5 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/6.259, allocations: 140.5 kB / 3.614 GB, free: 28.5 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/6.26, allocations: 0.7771 MB / 3.615 GB, free: 27.97 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/6.261, allocations: 61 kB / 3.615 GB, free: 27.96 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/6.261, allocations: 42.02 kB / 3.615 GB, free: 27.96 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/6.261, allocations: 3.875 kB / 3.615 GB, free: 27.96 MB / 450.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001968/6.263, allocations: 0.7416 MB / 3.616 GB, free: 27.94 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/6.263, allocations: 7.25 kB / 3.616 GB, free: 27.94 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/6.264, allocations: 148.9 kB / 3.616 GB, free: 27.93 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/6.264, allocations: 136.3 kB / 3.616 GB, free: 27.93 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/6.265, allocations: 0.784 MB / 3.617 GB, free: 27.4 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/6.266, allocations: 45.34 kB / 3.617 GB, free: 27.39 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/6.266, allocations: 39.16 kB / 3.617 GB, free: 27.39 MB / 450.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,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.0002487/6.266, allocations: 205.2 kB / 3.617 GB, free: 27.22 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000828/6.267, allocations: 268.7 kB / 3.617 GB, free: 27.19 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/6.271, allocations: 2.411 MB / 3.62 GB, free: 27.01 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/6.271, allocations: 22.08 kB / 3.62 GB, free: 27.01 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/6.271, allocations: 0 / 3.62 GB, free: 27.01 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/6.271, allocations: 5.188 kB / 3.62 GB, free: 27.01 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/6.275, allocations: 3.227 MB / 3.623 GB, free: 26.59 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/6.275, allocations: 0 / 3.623 GB, free: 26.59 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/6.275, allocations: 82.47 kB / 3.623 GB, free: 26.59 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/6.276, allocations: 243 kB / 3.623 GB, free: 26.58 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/6.276, allocations: 23.17 kB / 3.623 GB, free: 26.57 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/6.277, allocations: 0.918 MB / 3.624 GB, free: 26.04 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/6.277, allocations: 3.719 kB / 3.624 GB, free: 26.04 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004183/6.282, allocations: 2.671 MB / 3.627 GB, free: 25.79 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/6.282, allocations: 161.5 kB / 3.627 GB, free: 25.64 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/6.282, allocations: 11.38 kB / 3.627 GB, free: 25.64 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/6.283, allocations: 46.39 kB / 3.627 GB, free: 25.64 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/6.283, allocations: 36.95 kB / 3.627 GB, free: 25.64 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/6.283, allocations: 31.67 kB / 3.627 GB, free: 25.64 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0003244/6.283, allocations: 283 kB / 3.627 GB, free: 25.55 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.005594/6.289, allocations: 1.319 MB / 3.629 GB, free: 25.55 MB / 450.8 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: 25 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,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.008981/6.298, allocations: 2.004 MB / 3.631 GB, free: 25.32 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.002841/6.301, allocations: 1.712 MB / 3.632 GB, free: 25.16 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/6.301, allocations: 4.031 kB / 3.632 GB, free: 25.16 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/6.302, allocations: 1.132 MB / 3.633 GB, free: 25.09 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/6.303, allocations: 214.3 kB / 3.634 GB, free: 25.07 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/6.306, allocations: 1.718 MB / 3.635 GB, free: 24.68 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/6.307, allocations: 1.108 MB / 3.636 GB, free: 23.96 MB / 450.8 MB Notification: Performance of SimCode: time 4.41e-07/6.307, allocations: 0 / 3.636 GB, free: 23.96 MB / 450.8 MB Notification: Performance of Templates: time 0.06221/6.369, allocations: 43.45 MB / 3.679 GB, free: 5.137 MB / 450.8 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1)