Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.347/2.347, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.00161, allocations: 181.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001345/0.001344, allocations: 90.2 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.023e-05, allocations: 4 kB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5841, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.66, allocations: 445.2 MB / 1.398 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.66, allocations: 92.19 kB / 1.398 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 10.88/12.54, allocations: 2.323 GB / 3.721 GB, free: 53.79 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001122/12.54, allocations: 106.9 kB / 3.721 GB, free: 53.69 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01492/12.56, allocations: 4.037 MB / 3.725 GB, free: 49.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/12.56, allocations: 12.53 kB / 3.725 GB, free: 49.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/12.57, allocations: 1.274 MB / 3.726 GB, free: 48.32 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1141/12.68, allocations: 31.39 MB / 3.757 GB, free: 17.13 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/12.68, allocations: 72 kB / 3.757 GB, free: 17.06 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/12.68, allocations: 140 kB / 3.757 GB, free: 16.93 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007104/12.69, allocations: 2.292 MB / 3.759 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00716/12.7, allocations: 2.531 MB / 3.762 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/12.7, allocations: 7.938 kB / 3.762 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/12.7, allocations: 4 kB / 3.762 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/12.7, allocations: 48 kB / 3.762 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/12.73, allocations: 13.07 MB / 3.774 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/12.74, allocations: 2.136 MB / 3.776 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/12.74, allocations: 0.9635 MB / 3.777 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/12.76, allocations: 5.164 MB / 3.782 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/12.76, allocations: 1.13 MB / 3.784 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=92): time 5.02e-06/12.76, allocations: 0 / 3.784 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92): time 0.01515/12.78, allocations: 2.874 MB / 3.786 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/12.78, allocations: 115.6 kB / 3.786 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01671/12.79, allocations: 4.847 MB / 3.791 GB, free: 12.73 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007397/12.79, allocations: 29.7 kB / 3.791 GB, free: 12.69 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002435/12.8, allocations: 1.179 MB / 3.792 GB, free: 11.49 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/12.8, allocations: 299.5 kB / 3.793 GB, free: 11.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/12.8, allocations: 0 / 3.793 GB, free: 11.19 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002695/12.8, allocations: 386 kB / 3.793 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003072/12.8, allocations: 1.078 MB / 3.794 GB, free: 9.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00412/12.81, allocations: 2.123 MB / 3.796 GB, free: 7.098 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006983/12.81, allocations: 1.542 MB / 3.798 GB, free: 5.555 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.74e-05/12.81, allocations: 8 kB / 3.798 GB, free: 5.547 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01511/12.83, allocations: 3.71 MB / 3.801 GB, free: 1.812 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.4628/13.29, allocations: 13.56 MB / 3.814 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.283e-05/13.29, allocations: 31.47 kB / 3.815 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/13.29, allocations: 336.4 kB / 3.815 GB, free: 189.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006413/13.3, allocations: 0.5541 MB / 3.815 GB, free: 189.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/13.31, allocations: 6.13 MB / 3.821 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/13.31, allocations: 303.6 kB / 3.822 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009507/13.31, allocations: 221.9 kB / 3.822 GB, free: 185.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/13.31, allocations: 2.938 kB / 3.822 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01086/13.32, allocations: 2.795 MB / 3.825 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/13.32, allocations: 30.59 kB / 3.825 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/13.33, allocations: 336.3 kB / 3.825 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004687/13.33, allocations: 0.5963 MB / 3.826 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/13.33, allocations: 2.61 MB / 3.828 GB, free: 183.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/13.34, allocations: 221.6 kB / 3.828 GB, free: 183.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008902/13.34, allocations: 213.3 kB / 3.829 GB, free: 183.1 MB / 1.01 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001149/13.34, allocations: 202.4 kB / 3.829 GB, free: 183 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/13.34, allocations: 410.3 kB / 3.829 GB, free: 183 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/13.36, allocations: 2.88 MB / 3.832 GB, free: 182.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/13.36, allocations: 14.62 kB / 3.832 GB, free: 182.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/13.36, allocations: 0 / 3.832 GB, free: 182.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/13.36, allocations: 10.8 kB / 3.832 GB, free: 182.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/13.38, allocations: 5.81 MB / 3.838 GB, free: 182.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/13.38, allocations: 0 / 3.838 GB, free: 182.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/13.38, allocations: 226 kB / 3.838 GB, free: 182.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/13.38, allocations: 406.9 kB / 3.838 GB, free: 182.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/13.38, allocations: 30.73 kB / 3.838 GB, free: 182.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/13.39, allocations: 5.12 MB / 3.843 GB, free: 178.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/13.39, allocations: 7.156 kB / 3.843 GB, free: 178.1 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01043/13.4, allocations: 2.589 MB / 3.846 GB, free: 177.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/13.4, allocations: 0.9315 MB / 3.847 GB, free: 177.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/13.4, allocations: 3.797 kB / 3.847 GB, free: 177.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/13.41, allocations: 141.1 kB / 3.847 GB, free: 177.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/13.41, allocations: 79.78 kB / 3.847 GB, free: 177.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/13.41, allocations: 84.53 kB / 3.847 GB, free: 177.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.01009/13.42, allocations: 3.606 MB / 3.85 GB, free: 176.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01415/13.43, allocations: 1.94 MB / 3.852 GB, free: 176.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007207/13.44, allocations: 2.255 MB / 3.855 GB, free: 176.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01369/13.45, allocations: 4.144 MB / 3.859 GB, free: 176.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/13.45, allocations: 0 / 3.859 GB, free: 176.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/13.46, allocations: 0.8722 MB / 3.859 GB, free: 176.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01483/13.47, allocations: 1.852 MB / 3.861 GB, free: 176.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/13.49, allocations: 5.85 MB / 3.867 GB, free: 174.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007372/13.5, allocations: 3.107 MB / 3.87 GB, free: 174.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/13.5, allocations: 0 / 3.87 GB, free: 174.2 MB / 1.01 GB Notification: Performance of Templates: time 0.2688/13.77, allocations: 107 MB / 3.975 GB, free: 169.2 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)