Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") [: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.4/2.4, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.002286/0.002285, allocations: 193.2 kB / 360.4 MB, free: 7.512 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.795/1.795, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001264/0.001264, allocations: 84.25 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.898e-06/1.007e-05, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6307, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.998/1.629, allocations: 420.7 MB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.629, allocations: 99.84 kB / 1.374 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 10.66/12.29, allocations: 2.276 GB / 3.65 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002058/12.29, allocations: 257 kB / 3.65 GB, free: 116 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05921/12.35, allocations: 10.78 MB / 3.661 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/12.35, allocations: 10.66 kB / 3.661 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/12.36, allocations: 1.257 MB / 3.662 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05292/12.42, allocations: 12.88 MB / 3.674 GB, free: 110 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/12.42, allocations: 175.8 kB / 3.675 GB, free: 110 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/12.42, allocations: 354.6 kB / 3.675 GB, free: 110 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04948/12.47, allocations: 18.14 MB / 3.693 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04406/12.51, allocations: 12.77 MB / 3.705 GB, free: 99.85 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004612/12.51, allocations: 20.59 kB / 3.705 GB, free: 99.84 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004095/12.52, allocations: 11.75 kB / 3.705 GB, free: 99.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/12.52, allocations: 142.6 kB / 3.705 GB, free: 99.84 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/12.7, allocations: 62.2 MB / 3.766 GB, free: 39.18 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/12.72, allocations: 8.478 MB / 3.774 GB, free: 30.69 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01955/12.74, allocations: 9.394 MB / 3.783 GB, free: 21.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5485/13.29, allocations: 29.53 MB / 3.812 GB, free: 210.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01783/13.3, allocations: 7.348 MB / 3.819 GB, free: 210.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 8.556e-06/13.3, allocations: 0 / 3.819 GB, free: 210.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05161/13.35, allocations: 14.94 MB / 3.834 GB, free: 210.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/13.35, allocations: 80.62 kB / 3.834 GB, free: 210.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01951/13.37, allocations: 6.564 MB / 3.841 GB, free: 210 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00236/13.38, allocations: 32.89 kB / 3.841 GB, free: 209.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005768/13.38, allocations: 2.563 MB / 3.843 GB, free: 209.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.006384/13.39, allocations: 1.047 MB / 3.844 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002254/13.39, allocations: 0 / 3.844 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005595/13.39, allocations: 499.6 kB / 3.845 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01494/13.41, allocations: 6.244 MB / 3.851 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/13.42, allocations: 8.02 MB / 3.859 GB, free: 206.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01961/13.44, allocations: 7.324 MB / 3.866 GB, free: 206.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-05/13.44, allocations: 14.59 kB / 3.866 GB, free: 206.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05568/13.5, allocations: 16.73 MB / 3.882 GB, free: 205.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005638/13.5, allocations: 24.47 MB / 3.906 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/13.5, allocations: 47.03 kB / 3.906 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009478/13.51, allocations: 1.609 MB / 3.908 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01697/13.53, allocations: 1.571 MB / 3.909 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/13.55, allocations: 4.645 MB / 3.914 GB, free: 178.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01992/13.57, allocations: 0.6933 MB / 3.914 GB, free: 178.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00332/13.57, allocations: 0.5427 MB / 3.915 GB, free: 178.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/13.57, allocations: 10 kB / 3.915 GB, free: 178.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05073/13.62, allocations: 15.9 MB / 3.93 GB, free: 178.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002141/13.62, allocations: 49.31 kB / 3.93 GB, free: 178.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009407/13.63, allocations: 1.482 MB / 3.932 GB, free: 178.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01705/13.65, allocations: 1.563 MB / 3.933 GB, free: 178.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/13.67, allocations: 7.876 MB / 3.941 GB, free: 174.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02096/13.69, allocations: 0.59 MB / 3.942 GB, free: 174.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004303/13.69, allocations: 0.538 MB / 3.942 GB, free: 174.8 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * 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 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005774/13.7, allocations: 262.4 kB / 3.942 GB, free: 174.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005751/13.71, allocations: 0.6914 MB / 3.943 GB, free: 174.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06863/13.77, allocations: 14.42 MB / 3.957 GB, free: 174.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/13.77, allocations: 36.69 kB / 3.957 GB, free: 174.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/13.77, allocations: 0 / 3.957 GB, free: 174.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02801/13.8, allocations: 10.32 MB / 3.967 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06342/13.87, allocations: 23.27 MB / 3.99 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/13.87, allocations: 2.156 kB / 3.99 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01105/13.88, allocations: 0.6766 MB / 3.991 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/13.88, allocations: 0.8034 MB / 3.991 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001469/13.88, allocations: 70.12 kB / 3.992 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008281/13.89, allocations: 3.4 MB / 3.995 GB, free: 169 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/13.89, allocations: 0 / 3.995 GB, free: 169 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04777/13.94, allocations: 18.62 MB / 4.013 GB, free: 165.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009199/13.95, allocations: 1.961 MB / 4.015 GB, free: 164.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004405/13.95, allocations: 20.97 kB / 4.015 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01392/13.97, allocations: 328.4 kB / 4.015 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002149/13.97, allocations: 191.4 kB / 4.015 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001268/13.97, allocations: 160.6 kB / 4.016 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01453/13.98, allocations: 4.999 MB / 4.021 GB, free: 162.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0328/14.02, allocations: 4.711 MB / 4.025 GB, free: 162.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004641/14.02, allocations: 1.18 MB / 4.026 GB, free: 162.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0639/14.09, allocations: 23.14 MB / 4.049 GB, free: 153 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/14.09, allocations: 3.688 kB / 4.049 GB, free: 153 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01623/14.1, allocations: 6.112 MB / 4.055 GB, free: 150.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03719/14.14, allocations: 3.812 MB / 4.059 GB, free: 149.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06486/14.2, allocations: 17.52 MB / 4.076 GB, free: 144.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02067/14.23, allocations: 6.341 MB / 4.082 GB, free: 142.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.563e-06/14.23, allocations: 0 / 4.082 GB, free: 142.8 MB / 0.9792 GB Notification: Performance of Templates: time 1.123/15.35, allocations: 259 MB / 4.335 GB, free: 189.5 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)