Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.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.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2") [: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.324/1.324, allocations: 289.8 MB / 297.1 MB, free: 12.57 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.0009889/0.000989, allocations: 182.2 kB / 366.3 MB, free: 11.87 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.021/1.021, allocations: 205.1 MB / 0.6256 GB, free: 1.973 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.0008736/0.0008735, allocations: 85.66 kB / 0.7395 GB, free: 47.02 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.661e-06, allocations: 0 / 0.859 GB, free: 7.152 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.437, allocations: 116.3 MB / 0.9725 GB, free: 81.51 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.191/3.628, allocations: 2.513 GB / 3.486 GB, free: 15.7 MB / 0.9558 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/3.629, allocations: 91.94 kB / 3.486 GB, free: 15.61 MB / 0.9558 GB Notification: Performance of FrontEnd: time 7.212/10.84, allocations: 2.681 GB / 6.167 GB, free: 84.25 MB / 1.065 GB Notification: Performance of Transformations before backend: time 0.0003956/10.84, allocations: 133.8 kB / 6.167 GB, free: 84.23 MB / 1.065 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1020 * Number of variables: 1020 Notification: Performance of Generate backend data structure: time 0.01213/10.85, allocations: 5.621 MB / 6.172 GB, free: 82.25 MB / 1.065 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/10.85, allocations: 10.5 kB / 6.172 GB, free: 82.25 MB / 1.065 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/10.87, allocations: 3.523 MB / 6.176 GB, free: 81.93 MB / 1.065 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/10.89, allocations: 5.173 MB / 6.181 GB, free: 81.21 MB / 1.065 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/10.89, allocations: 130.7 kB / 6.181 GB, free: 81.21 MB / 1.065 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/10.89, allocations: 244.3 kB / 6.181 GB, free: 81.21 MB / 1.065 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007225/10.9, allocations: 4.657 MB / 6.186 GB, free: 81.19 MB / 1.065 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006336/10.9, allocations: 4.339 MB / 6.19 GB, free: 80.8 MB / 1.065 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.939e-05/10.9, allocations: 6.062 kB / 6.19 GB, free: 80.8 MB / 1.065 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/10.9, allocations: 3.594 kB / 6.19 GB, free: 80.8 MB / 1.065 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.714e-05/10.9, allocations: 158.9 kB / 6.19 GB, free: 80.79 MB / 1.065 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/10.93, allocations: 20.71 MB / 6.21 GB, free: 73.29 MB / 1.065 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/10.94, allocations: 3.219 MB / 6.214 GB, free: 73.14 MB / 1.065 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/10.94, allocations: 1.831 MB / 6.215 GB, free: 73.11 MB / 1.065 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/10.95, allocations: 7.618 MB / 6.223 GB, free: 71.01 MB / 1.065 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/10.95, allocations: 2.009 MB / 6.225 GB, free: 70.88 MB / 1.065 GB Notification: Performance of pre-optimization done (n=311): time 4.889e-06/10.95, allocations: 0 / 6.225 GB, free: 70.88 MB / 1.065 GB Notification: Performance of matching and sorting (n=311): time 0.01017/10.96, allocations: 4.054 MB / 6.229 GB, free: 70.5 MB / 1.065 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/10.96, allocations: 345.3 kB / 6.229 GB, free: 70.12 MB / 1.065 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6912:7-6912:44:writable] Warning: Parameter cooCoi.UAFroRated.staWat.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6911:7-6911:55:writable] Warning: Parameter cooCoi.UAFroRated.staWat.p has no value, and is fixed during initialization (fixed=true), using available start value (start=300000.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6135:7-6136:64:writable] Warning: Parameter cooCoi.UAFroRated.staAir.X[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.99) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6135:7-6136:64:writable] Warning: Parameter cooCoi.UAFroRated.staAir.X[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6134:7-6134:44:writable] Warning: Parameter cooCoi.UAFroRated.staAir.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6133:7-6133:55:writable] Warning: Parameter cooCoi.UAFroRated.staAir.p has no value, and is fixed during initialization (fixed=true), using available start value (start=101325.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/10.97, allocations: 2.641 MB / 6.232 GB, free: 69.81 MB / 1.065 GB Notification: Performance of collectPreVariables (initialization): time 0.0003203/10.97, allocations: 32.83 kB / 6.232 GB, free: 69.78 MB / 1.065 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/10.97, allocations: 1.397 MB / 6.233 GB, free: 69.04 MB / 1.065 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008725/10.97, allocations: 1.005 MB / 6.234 GB, free: 68.36 MB / 1.065 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/10.97, allocations: 0 / 6.234 GB, free: 68.36 MB / 1.065 GB Notification: Performance of setup shared object (initialization): time 0.0001348/10.97, allocations: 442.6 kB / 6.234 GB, free: 68.05 MB / 1.065 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/10.97, allocations: 1.433 MB / 6.236 GB, free: 68.04 MB / 1.065 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/10.97, allocations: 2.185 MB / 6.238 GB, free: 67.25 MB / 1.065 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004751/10.98, allocations: 2.382 MB / 6.24 GB, free: 67.01 MB / 1.065 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/10.98, allocations: 8.469 kB / 6.24 GB, free: 67.01 MB / 1.065 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.009585/10.99, allocations: 4.559 MB / 6.245 GB, free: 66.64 MB / 1.065 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007414/10.99, allocations: 6.218 MB / 6.251 GB, free: 60.15 MB / 1.065 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/10.99, allocations: 15.72 kB / 6.251 GB, free: 60.15 MB / 1.065 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/10.99, allocations: 369.2 kB / 6.251 GB, free: 60.11 MB / 1.065 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006169/11, allocations: 1.161 MB / 6.252 GB, free: 60.11 MB / 1.065 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/11, allocations: 7.477 MB / 6.26 GB, free: 53.59 MB / 1.065 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006533/11.01, allocations: 0.6625 MB / 6.26 GB, free: 53.44 MB / 1.065 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/11.01, allocations: 175.8 kB / 6.26 GB, free: 53.44 MB / 1.065 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/11.01, allocations: 5.625 kB / 6.26 GB, free: 53.44 MB / 1.065 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008694/11.02, allocations: 4.137 MB / 6.264 GB, free: 53.22 MB / 1.065 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/11.02, allocations: 18.97 kB / 6.264 GB, free: 53.22 MB / 1.065 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/11.02, allocations: 370.1 kB / 6.265 GB, free: 53.18 MB / 1.065 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005927/11.02, allocations: 1.145 MB / 6.266 GB, free: 53.18 MB / 1.065 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/11.03, allocations: 7.826 MB / 6.274 GB, free: 46.45 MB / 1.065 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006021/11.04, allocations: 0.5867 MB / 6.274 GB, free: 46.33 MB / 1.065 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/11.04, allocations: 169.8 kB / 6.274 GB, free: 46.33 MB / 1.065 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: cooCoi.UAFroRated.hAirOut = 45300.945 cooCoi.UAFroRated.X_wAirIn = 0.01 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.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: 63 * Number of states: 0 () * Number of discrete variables: 10 (cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet,cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 410 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 4,1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008886/11.04, allocations: 194 kB / 6.274 GB, free: 46.21 MB / 1.065 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008421/11.04, allocations: 418.1 kB / 6.275 GB, free: 45.99 MB / 1.065 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/11.05, allocations: 4.643 MB / 6.279 GB, free: 45.65 MB / 1.065 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/11.05, allocations: 35.47 kB / 6.279 GB, free: 45.65 MB / 1.065 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/11.05, allocations: 3.281 kB / 6.279 GB, free: 45.65 MB / 1.065 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007161/11.06, allocations: 3.575 MB / 6.283 GB, free: 45.36 MB / 1.065 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/11.07, allocations: 9.359 MB / 6.292 GB, free: 44.31 MB / 1.065 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/11.07, allocations: 0 / 6.292 GB, free: 44.31 MB / 1.065 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004508/11.08, allocations: 0.8364 MB / 6.293 GB, free: 44.31 MB / 1.065 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/11.08, allocations: 390.3 kB / 6.293 GB, free: 44.27 MB / 1.065 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/11.08, allocations: 59.56 kB / 6.293 GB, free: 44.27 MB / 1.065 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/11.09, allocations: 8.999 MB / 6.302 GB, free: 36.48 MB / 1.065 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/11.09, allocations: 3.75 kB / 6.302 GB, free: 36.48 MB / 1.065 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01175/11.1, allocations: 6.446 MB / 6.308 GB, free: 35.7 MB / 1.065 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/11.1, allocations: 1.059 MB / 6.309 GB, free: 35.34 MB / 1.065 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/11.1, allocations: 19.81 kB / 6.309 GB, free: 35.34 MB / 1.065 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005231/11.11, allocations: 442.9 kB / 6.31 GB, free: 35.32 MB / 1.065 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/11.11, allocations: 177.5 kB / 6.31 GB, free: 35.32 MB / 1.065 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003578/11.11, allocations: 132.7 kB / 6.31 GB, free: 35.32 MB / 1.065 GB Notification: Performance of sort global known variables: time 0.003484/11.11, allocations: 1.942 MB / 6.312 GB, free: 35.14 MB / 1.065 GB Notification: Performance of remove unused functions: time 0.01109/11.12, allocations: 3.187 MB / 6.315 GB, free: 34.66 MB / 1.065 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],cooCoi.heaCoo.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.m,cooCoi.heaCooHum_u.vol.dynBal.mXi[1],cooCoi.dryWetCalcs.fullyWet.TWatOutEst,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 2 {(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 4 {1 2,1 4,1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009307/11.13, allocations: 7.491 MB / 6.323 GB, free: 31.27 MB / 1.065 GB Notification: Performance of simCode: created initialization part: time 0.01289/11.14, allocations: 6.839 MB / 6.329 GB, free: 30.41 MB / 1.065 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/11.14, allocations: 10.36 kB / 6.329 GB, free: 30.41 MB / 1.065 GB Notification: Performance of simCode: created simulation system equations: time 0.003688/11.15, allocations: 2.374 MB / 6.332 GB, free: 29.9 MB / 1.065 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008144/11.16, allocations: 1.708 MB / 6.333 GB, free: 29.86 MB / 1.065 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/11.18, allocations: 7.848 MB / 6.341 GB, free: 28.27 MB / 1.065 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005117/11.18, allocations: 3.288 MB / 6.344 GB, free: 43.46 MB / 1.081 GB Notification: Performance of SimCode: time 8.51e-07/11.18, allocations: 1.812 kB / 6.344 GB, free: 43.46 MB / 1.081 GB Notification: Performance of Templates: time 0.1852/11.37, allocations: 144.8 MB / 6.485 GB, free: 34.93 MB / 1.081 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)