Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.8 MB / 297.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 169.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 0.6256 GB, free: 5.852 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.2 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.518e-06, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7324, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9992/1.732, allocations: 465.7 MB / 1.427 GB, free: 20.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.732, allocations: 95.45 kB / 1.427 GB, free: 20.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 40.16/41.89, allocations: 10.27 GB / 11.7 GB, free: 16.93 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003829/41.89, allocations: 351.6 kB / 11.7 GB, free: 16.59 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.0511/41.94, allocations: 12.11 MB / 11.71 GB, free: 4.383 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/41.94, allocations: 15.97 kB / 11.71 GB, free: 4.367 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/41.96, allocations: 2.32 MB / 11.72 GB, free: 2.027 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9158/42.87, allocations: 22.28 MB / 11.74 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000466/42.87, allocations: 198.3 kB / 11.74 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004036/42.88, allocations: 440.7 kB / 11.74 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02847/42.91, allocations: 18.11 MB / 11.76 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03073/42.94, allocations: 12.32 MB / 11.77 GB, free: 132.3 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003698/42.94, allocations: 4.438 kB / 11.77 GB, free: 132.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003333/42.94, allocations: 7.312 kB / 11.77 GB, free: 132.3 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/42.94, allocations: 149.4 kB / 11.77 GB, free: 132.3 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1311/43.07, allocations: 73.62 MB / 11.84 GB, free: 100.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/43.08, allocations: 8.366 MB / 11.85 GB, free: 100.8 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01301/43.1, allocations: 8.856 MB / 11.86 GB, free: 100.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07345/43.17, allocations: 31.84 MB / 11.89 GB, free: 92.88 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01419/43.19, allocations: 8.077 MB / 11.9 GB, free: 92.77 MB / 1.198 GB Notification: Performance of pre-optimization done (n=393): time 8.907e-06/43.19, allocations: 3.688 kB / 11.9 GB, free: 92.77 MB / 1.198 GB Notification: Performance of matching and sorting (n=395): time 0.1063/43.29, allocations: 38.61 MB / 11.93 GB, free: 89.92 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/43.29, allocations: 97.83 kB / 11.93 GB, free: 89.85 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03048/43.32, allocations: 11.38 MB / 11.94 GB, free: 89.15 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002967/43.33, allocations: 38.61 kB / 11.94 GB, free: 89.12 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.005938/43.33, allocations: 3.062 MB / 11.95 GB, free: 87.79 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005085/43.34, allocations: 1.287 MB / 11.95 GB, free: 86.93 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/43.34, allocations: 0 / 11.95 GB, free: 86.93 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005699/43.34, allocations: 0.5363 MB / 11.95 GB, free: 86.61 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01099/43.35, allocations: 7.143 MB / 11.96 GB, free: 86.59 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01544/43.37, allocations: 9.55 MB / 11.97 GB, free: 83.74 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/43.38, allocations: 8.232 MB / 11.97 GB, free: 83.61 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/43.38, allocations: 12.81 kB / 11.97 GB, free: 83.61 MB / 1.198 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.05938/43.44, allocations: 23.92 MB / 12 GB, free: 82.73 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005777/43.45, allocations: 29.46 MB / 12.03 GB, free: 52.09 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/43.45, allocations: 46.78 kB / 12.03 GB, free: 52.09 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7777/44.23, allocations: 188.5 MB / 12.21 GB, free: 5.836 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008355/44.24, allocations: 1.273 MB / 12.21 GB, free: 4.914 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7954/45.03, allocations: 27.62 MB / 12.24 GB, free: 125.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/45.05, allocations: 0.7541 MB / 12.24 GB, free: 125.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004071/45.05, allocations: 0.7296 MB / 12.24 GB, free: 125.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/45.05, allocations: 8 kB / 12.24 GB, free: 125.6 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03827/45.09, allocations: 21.79 MB / 12.26 GB, free: 125.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/45.09, allocations: 44.03 kB / 12.26 GB, free: 125.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.833/45.93, allocations: 188.6 MB / 12.45 GB, free: 110.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007121/45.93, allocations: 1.252 MB / 12.45 GB, free: 110.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06129/45.99, allocations: 29.5 MB / 12.48 GB, free: 108.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/46.01, allocations: 0.7246 MB / 12.48 GB, free: 108.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004028/46.02, allocations: 0.6922 MB / 12.48 GB, free: 108.5 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real spl2.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 pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.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: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 544 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {39 61,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005005/46.02, allocations: 282.8 kB / 12.48 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004982/46.03, allocations: 1.135 MB / 12.48 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04293/46.07, allocations: 18.67 MB / 12.5 GB, free: 107.5 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.123e-05/46.07, allocations: 51.08 kB / 12.5 GB, free: 107.5 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/46.07, allocations: 1.125 kB / 12.5 GB, free: 107.5 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02251/46.09, allocations: 12.89 MB / 12.51 GB, free: 107.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1259/46.22, allocations: 42.79 MB / 12.55 GB, free: 101.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-05/46.22, allocations: 2.781 kB / 12.55 GB, free: 101.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004519/46.22, allocations: 0.6773 MB / 12.55 GB, free: 101.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017/47.24, allocations: 80.46 MB / 12.63 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001933/47.24, allocations: 80.11 kB / 12.63 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/47.27, allocations: 14.6 MB / 12.64 GB, free: 120.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/47.27, allocations: 5.781 kB / 12.64 GB, free: 120.7 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03812/47.3, allocations: 22.06 MB / 12.67 GB, free: 119.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01142/47.32, allocations: 2.531 MB / 12.67 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006812/47.32, allocations: 12.73 kB / 12.67 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01427/47.34, allocations: 0.5895 MB / 12.67 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001907/47.34, allocations: 278.4 kB / 12.67 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001913/47.34, allocations: 205.5 kB / 12.67 GB, free: 119.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.02417/47.36, allocations: 8.536 MB / 12.68 GB, free: 119.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.04424/47.41, allocations: 5.569 MB / 12.68 GB, free: 119.5 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {40 60,6 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/47.42, allocations: 4.727 MB / 12.69 GB, free: 117.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.07108/47.49, allocations: 29.21 MB / 12.72 GB, free: 117.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/47.49, allocations: 3.375 kB / 12.72 GB, free: 117.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0182/47.51, allocations: 7.942 MB / 12.72 GB, free: 117.2 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03565/47.55, allocations: 5.838 MB / 12.73 GB, free: 117.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06527/47.61, allocations: 19.25 MB / 12.75 GB, free: 113.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01517/47.63, allocations: 7.758 MB / 12.76 GB, free: 112.5 MB / 1.198 GB Notification: Performance of SimCode: time 1.363e-06/47.63, allocations: 0 / 12.76 GB, free: 112.5 MB / 1.198 GB Notification: Performance of Templates: time 2.083/49.71, allocations: 410.1 MB / 13.16 GB, free: 97.55 MB / 1.198 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)