Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") [: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.558/1.558, allocations: 289.8 MB / 297.1 MB, free: 12.59 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 184.3 kB / 366.3 MB, free: 11.88 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 0.6256 GB, free: 2 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009723/0.0009723, allocations: 88.33 kB / 0.7395 GB, free: 47.01 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.343e-05, allocations: 4 kB / 0.859 GB, free: 7.148 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.9048, allocations: 116.3 MB / 0.9725 GB, free: 81.53 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/2.008, allocations: 466.3 MB / 1.428 GB, free: 109.2 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/2.008, allocations: 95.55 kB / 1.428 GB, free: 109.1 MB / 0.8621 GB Notification: Performance of FrontEnd: time 42.61/44.61, allocations: 10.51 GB / 11.94 GB, free: 80.13 MB / 1.206 GB Notification: Performance of Transformations before backend: time 0.004095/44.62, allocations: 356.5 kB / 11.94 GB, free: 80.06 MB / 1.206 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.05945/44.68, allocations: 11.53 MB / 11.95 GB, free: 75.12 MB / 1.206 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/44.68, allocations: 10.8 kB / 11.95 GB, free: 75.12 MB / 1.206 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/44.7, allocations: 2.154 MB / 11.95 GB, free: 74.33 MB / 1.206 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06135/44.76, allocations: 18.64 MB / 11.97 GB, free: 72.22 MB / 1.206 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005283/44.76, allocations: 192.8 kB / 11.97 GB, free: 72.22 MB / 1.206 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003228/44.76, allocations: 440.9 kB / 11.97 GB, free: 72.22 MB / 1.206 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01786/44.78, allocations: 7.032 MB / 11.98 GB, free: 72.19 MB / 1.206 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02237/44.8, allocations: 7.543 MB / 11.98 GB, free: 71.15 MB / 1.206 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002643/44.8, allocations: 14.34 kB / 11.98 GB, free: 71.15 MB / 1.206 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/44.8, allocations: 12.31 kB / 11.98 GB, free: 71.15 MB / 1.206 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/44.8, allocations: 155 kB / 11.98 GB, free: 71.15 MB / 1.206 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08328/44.89, allocations: 50.34 MB / 12.03 GB, free: 43.38 MB / 1.206 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005777/44.89, allocations: 3.514 MB / 12.04 GB, free: 43.31 MB / 1.206 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00716/44.9, allocations: 4.02 MB / 12.04 GB, free: 43.22 MB / 1.206 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03876/44.94, allocations: 12.97 MB / 12.05 GB, free: 40.12 MB / 1.206 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005633/44.94, allocations: 3.199 MB / 12.06 GB, free: 40.02 MB / 1.206 GB Notification: Performance of pre-optimization done (n=326): time 7.634e-06/44.94, allocations: 1.375 kB / 12.06 GB, free: 40.02 MB / 1.206 GB Notification: Performance of matching and sorting (n=328): time 0.05854/45, allocations: 17.64 MB / 12.07 GB, free: 37.05 MB / 1.206 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/45, allocations: 89.55 kB / 12.07 GB, free: 36.98 MB / 1.206 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03497/45.04, allocations: 11.58 MB / 12.08 GB, free: 36.25 MB / 1.206 GB Notification: Performance of collectPreVariables (initialization): time 0.002069/45.04, allocations: 36.45 kB / 12.08 GB, free: 36.22 MB / 1.206 GB Notification: Performance of collectInitialEqns (initialization): time 0.006115/45.05, allocations: 3.259 MB / 12.09 GB, free: 34.76 MB / 1.206 GB Notification: Performance of collectInitialBindings (initialization): time 0.003567/45.05, allocations: 1.08 MB / 12.09 GB, free: 34.04 MB / 1.206 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/45.05, allocations: 0 / 12.09 GB, free: 34.04 MB / 1.206 GB Notification: Performance of setup shared object (initialization): time 0.0006107/45.05, allocations: 0.5371 MB / 12.09 GB, free: 33.72 MB / 1.206 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006495/45.06, allocations: 3.264 MB / 12.09 GB, free: 33.7 MB / 1.206 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008289/45.07, allocations: 6.012 MB / 12.1 GB, free: 30.25 MB / 1.206 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/45.08, allocations: 4.262 MB / 12.1 GB, free: 30.01 MB / 1.206 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/45.08, allocations: 21.19 kB / 12.1 GB, free: 30.01 MB / 1.206 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03525/45.11, allocations: 11.88 MB / 12.11 GB, free: 28.81 MB / 1.206 GB Notification: Performance of prepare postOptimizeDAE: time 0.01275/45.13, allocations: 38.28 MB / 12.15 GB, free: 4.785 MB / 1.221 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003133/45.13, allocations: 62.75 kB / 12.15 GB, free: 4.785 MB / 1.221 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/45.14, allocations: 3.044 MB / 12.15 GB, free: 4.621 MB / 1.221 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009558/45.15, allocations: 1.38 MB / 12.16 GB, free: 4.535 MB / 1.221 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/45.16, allocations: 11.61 MB / 12.17 GB, free: 14.73 MB / 1.237 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/45.18, allocations: 0.716 MB / 12.17 GB, free: 14.62 MB / 1.237 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002417/45.18, allocations: 461.7 kB / 12.17 GB, free: 14.57 MB / 1.237 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/45.18, allocations: 4.562 kB / 12.17 GB, free: 14.57 MB / 1.237 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02548/45.21, allocations: 9.459 MB / 12.18 GB, free: 10.95 MB / 1.237 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/45.21, allocations: 63.91 kB / 12.18 GB, free: 10.89 MB / 1.237 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/45.22, allocations: 3.102 MB / 12.18 GB, free: 8.613 MB / 1.237 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007411/45.23, allocations: 1.369 MB / 12.18 GB, free: 7.477 MB / 1.237 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7201/45.95, allocations: 13.36 MB / 12.19 GB, free: 199.8 MB / 1.237 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/45.96, allocations: 0.6835 MB / 12.2 GB, free: 199.8 MB / 1.237 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/45.96, allocations: 422 kB / 12.2 GB, free: 199.8 MB / 1.237 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.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: pmpSouth.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: spl3.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 pumpCoo.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: pumpHea.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: 269 * 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 (624): * Single equations (assignments): 609 * 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: 5 * 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: 5 {1 2,9 12,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.001933/45.97, allocations: 324.5 kB / 12.2 GB, free: 199.7 MB / 1.237 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003088/45.97, allocations: 1.134 MB / 12.2 GB, free: 199.7 MB / 1.237 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/45.99, allocations: 8.836 MB / 12.21 GB, free: 199.4 MB / 1.237 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/45.99, allocations: 40.27 kB / 12.21 GB, free: 199.4 MB / 1.237 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/45.99, allocations: 3.781 kB / 12.21 GB, free: 199.4 MB / 1.237 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01129/46, allocations: 6.248 MB / 12.21 GB, free: 199 MB / 1.237 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03874/46.04, allocations: 16.1 MB / 12.23 GB, free: 198.2 MB / 1.237 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/46.04, allocations: 5.141 kB / 12.23 GB, free: 198.2 MB / 1.237 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/46.04, allocations: 0.6292 MB / 12.23 GB, free: 198.2 MB / 1.237 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00537/46.05, allocations: 1.841 MB / 12.23 GB, free: 198.2 MB / 1.237 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003967/46.05, allocations: 63.81 kB / 12.23 GB, free: 198.2 MB / 1.237 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007301/46.05, allocations: 9.029 MB / 12.24 GB, free: 192.7 MB / 1.237 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/46.05, allocations: 0 / 12.24 GB, free: 192.7 MB / 1.237 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02231/46.08, allocations: 11.08 MB / 12.25 GB, free: 191.9 MB / 1.237 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01029/46.09, allocations: 2.13 MB / 12.25 GB, free: 191.3 MB / 1.237 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004499/46.09, allocations: 10.53 kB / 12.25 GB, free: 191.3 MB / 1.237 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01146/46.1, allocations: 0.5896 MB / 12.25 GB, free: 191.3 MB / 1.237 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/46.1, allocations: 233.1 kB / 12.25 GB, free: 191.3 MB / 1.237 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005853/46.11, allocations: 173.5 kB / 12.25 GB, free: 191.3 MB / 1.237 GB Notification: Performance of sort global known variables: time 0.01741/46.12, allocations: 8.655 MB / 12.26 GB, free: 191 MB / 1.237 GB Notification: Performance of remove unused functions: time 0.03655/46.16, allocations: 5.024 MB / 12.27 GB, free: 191 MB / 1.237 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 (292): * Single equations (assignments): 269 * 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: 5 * 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: 5 {1 2,9 12,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.007355/46.17, allocations: 4.741 MB / 12.27 GB, free: 189.1 MB / 1.237 GB Notification: Performance of simCode: created initialization part: time 0.02626/46.19, allocations: 12.68 MB / 12.28 GB, free: 188.8 MB / 1.237 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/46.19, allocations: 3.875 kB / 12.28 GB, free: 188.8 MB / 1.237 GB Notification: Performance of simCode: created simulation system equations: time 0.005483/46.2, allocations: 2.88 MB / 12.29 GB, free: 188.7 MB / 1.237 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02994/46.23, allocations: 5.575 MB / 12.29 GB, free: 188.7 MB / 1.237 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04635/46.27, allocations: 17.42 MB / 12.31 GB, free: 185 MB / 1.237 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01418/46.29, allocations: 7.69 MB / 12.32 GB, free: 184.1 MB / 1.237 GB Notification: Performance of SimCode: time 1.273e-06/46.29, allocations: 0 / 12.32 GB, free: 184.1 MB / 1.237 GB Notification: Performance of Templates: time 0.4831/46.77, allocations: 284 MB / 12.59 GB, free: 103.1 MB / 1.237 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)