Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.331/1.331, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009198/0.0009198, allocations: 187.7 kB / 361.1 MB, free: 7.102 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.015/1.015, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008113/0.0008114, allocations: 88.2 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.194e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4168, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.394/3.811, allocations: 2.512 GB / 3.476 GB, free: 330 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/3.811, allocations: 87.23 kB / 3.476 GB, free: 330 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.032/10.84, allocations: 2.681 GB / 6.157 GB, free: 78.17 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0004009/10.84, allocations: 130.3 kB / 6.157 GB, free: 78.15 MB / 1.042 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.01234/10.86, allocations: 5.625 MB / 6.163 GB, free: 75.8 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/10.86, allocations: 9.594 kB / 6.163 GB, free: 75.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02303/10.88, allocations: 3.532 MB / 6.166 GB, free: 75.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/10.89, allocations: 5.159 MB / 6.171 GB, free: 74.69 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/10.89, allocations: 134.6 kB / 6.171 GB, free: 74.69 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009772/10.89, allocations: 245.6 kB / 6.171 GB, free: 74.69 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007733/10.9, allocations: 4.656 MB / 6.176 GB, free: 74.67 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006913/10.91, allocations: 4.337 MB / 6.18 GB, free: 74.29 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/10.91, allocations: 3.281 kB / 6.18 GB, free: 74.29 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/10.91, allocations: 3.656 kB / 6.18 GB, free: 74.29 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/10.91, allocations: 163.4 kB / 6.18 GB, free: 74.28 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03121/10.94, allocations: 20.71 MB / 6.201 GB, free: 66.73 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/10.95, allocations: 3.216 MB / 6.204 GB, free: 66.58 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/10.95, allocations: 1.839 MB / 6.205 GB, free: 66.55 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/10.96, allocations: 7.606 MB / 6.213 GB, free: 64.44 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00255/10.96, allocations: 2.009 MB / 6.215 GB, free: 64.31 MB / 1.042 GB Notification: Performance of pre-optimization done (n=311): time 4.108e-06/10.96, allocations: 0 / 6.215 GB, free: 64.31 MB / 1.042 GB Notification: Performance of matching and sorting (n=311): time 0.01074/10.97, allocations: 4.048 MB / 6.219 GB, free: 63.93 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/10.97, allocations: 345.9 kB / 6.219 GB, free: 63.55 MB / 1.042 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.003909/10.98, allocations: 2.643 MB / 6.222 GB, free: 63.25 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006094/10.98, allocations: 30.55 kB / 6.222 GB, free: 63.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009817/10.98, allocations: 1.393 MB / 6.223 GB, free: 62.47 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/10.98, allocations: 1.01 MB / 6.224 GB, free: 61.79 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/10.98, allocations: 0.8438 kB / 6.224 GB, free: 61.79 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001383/10.98, allocations: 441.2 kB / 6.225 GB, free: 61.48 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/10.98, allocations: 1.437 MB / 6.226 GB, free: 61.47 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/10.98, allocations: 2.186 MB / 6.228 GB, free: 60.68 MB / 1.042 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.006802/10.99, allocations: 2.383 MB / 6.23 GB, free: 60.44 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/10.99, allocations: 8.938 kB / 6.23 GB, free: 60.44 MB / 1.042 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.009986/11, allocations: 4.557 MB / 6.235 GB, free: 60.07 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007691/11, allocations: 6.217 MB / 6.241 GB, free: 53.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/11, allocations: 17.11 kB / 6.241 GB, free: 53.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/11, allocations: 369.9 kB / 6.241 GB, free: 53.54 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006475/11.01, allocations: 1.166 MB / 6.242 GB, free: 53.54 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005324/11.02, allocations: 7.479 MB / 6.25 GB, free: 47.01 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006842/11.02, allocations: 0.6653 MB / 6.25 GB, free: 46.86 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006376/11.02, allocations: 169.5 kB / 6.251 GB, free: 46.86 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/11.02, allocations: 6.125 kB / 6.251 GB, free: 46.86 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008992/11.03, allocations: 4.149 MB / 6.255 GB, free: 46.63 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/11.03, allocations: 13.56 kB / 6.255 GB, free: 46.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/11.03, allocations: 374.6 kB / 6.255 GB, free: 46.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/11.04, allocations: 1.15 MB / 6.256 GB, free: 46.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/11.05, allocations: 7.807 MB / 6.264 GB, free: 39.86 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006101/11.05, allocations: 0.5965 MB / 6.264 GB, free: 39.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/11.05, allocations: 164.5 kB / 6.264 GB, free: 39.74 MB / 1.042 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.0009055/11.05, allocations: 200.7 kB / 6.265 GB, free: 39.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008351/11.05, allocations: 415.6 kB / 6.265 GB, free: 39.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/11.06, allocations: 4.645 MB / 6.27 GB, free: 39.05 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/11.06, allocations: 30.44 kB / 6.27 GB, free: 39.05 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/11.06, allocations: 3.062 kB / 6.27 GB, free: 39.05 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007155/11.07, allocations: 3.579 MB / 6.273 GB, free: 38.76 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/11.09, allocations: 9.345 MB / 6.282 GB, free: 37.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/11.09, allocations: 7.656 kB / 6.282 GB, free: 37.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004565/11.09, allocations: 0.8425 MB / 6.283 GB, free: 37.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/11.09, allocations: 392.2 kB / 6.283 GB, free: 37.68 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/11.09, allocations: 57.83 kB / 6.283 GB, free: 37.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/11.1, allocations: 9.008 MB / 6.292 GB, free: 45.86 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/11.1, allocations: 3.844 kB / 6.292 GB, free: 45.86 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01085/11.11, allocations: 6.459 MB / 6.299 GB, free: 45.07 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/11.11, allocations: 1.055 MB / 6.3 GB, free: 44.72 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000696/11.11, allocations: 9 kB / 6.3 GB, free: 44.72 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004414/11.12, allocations: 443.4 kB / 6.3 GB, free: 44.71 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/11.12, allocations: 181.6 kB / 6.3 GB, free: 44.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/11.12, allocations: 137.3 kB / 6.3 GB, free: 44.7 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.002568/11.12, allocations: 1.938 MB / 6.302 GB, free: 44.52 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.008697/11.13, allocations: 3.192 MB / 6.305 GB, free: 44.04 MB / 1.057 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.007519/11.14, allocations: 7.465 MB / 6.313 GB, free: 40.57 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01091/11.15, allocations: 6.849 MB / 6.319 GB, free: 39.71 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/11.15, allocations: 5.719 kB / 6.319 GB, free: 39.71 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/11.15, allocations: 2.369 MB / 6.322 GB, free: 39.2 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006799/11.16, allocations: 1.716 MB / 6.323 GB, free: 39.14 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/11.18, allocations: 7.84 MB / 6.331 GB, free: 37.56 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003935/11.18, allocations: 3.284 MB / 6.334 GB, free: 36.77 MB / 1.057 GB Notification: Performance of SimCode: time 5.61e-07/11.18, allocations: 0 / 6.334 GB, free: 36.77 MB / 1.057 GB Notification: Performance of Templates: time 0.1937/11.37, allocations: 144.8 MB / 6.476 GB, free: 0.7227 MB / 1.089 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)