Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.098/2.098, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001575/0.001575, allocations: 181.3 kB / 360.4 MB, free: 7.508 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.615/1.615, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.00122/0.001219, allocations: 91.28 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/8.947e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5501, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.305/5.855, allocations: 2.512 GB / 3.475 GB, free: 259.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/5.855, allocations: 86.02 kB / 3.475 GB, free: 259.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 11.52/17.37, allocations: 2.68 GB / 6.155 GB, free: 77.63 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0007685/17.37, allocations: 136.3 kB / 6.156 GB, free: 77.61 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.02096/17.4, allocations: 5.626 MB / 6.161 GB, free: 75.2 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/17.4, allocations: 9.906 kB / 6.161 GB, free: 75.2 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03866/17.43, allocations: 3.521 MB / 6.165 GB, free: 74.89 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/17.46, allocations: 5.171 MB / 6.17 GB, free: 74.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/17.46, allocations: 128.2 kB / 6.17 GB, free: 74.09 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/17.46, allocations: 247.8 kB / 6.17 GB, free: 74.09 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01405/17.47, allocations: 4.652 MB / 6.175 GB, free: 74.07 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/17.48, allocations: 4.337 MB / 6.179 GB, free: 73.69 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/17.48, allocations: 10.06 kB / 6.179 GB, free: 73.69 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007254/17.49, allocations: 5.781 kB / 6.179 GB, free: 73.69 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/17.49, allocations: 157 kB / 6.179 GB, free: 73.68 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/17.54, allocations: 20.73 MB / 6.199 GB, free: 66.1 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008554/17.55, allocations: 3.215 MB / 6.202 GB, free: 65.95 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/17.55, allocations: 1.839 MB / 6.204 GB, free: 65.92 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/17.57, allocations: 7.593 MB / 6.212 GB, free: 63.81 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00458/17.57, allocations: 2.003 MB / 6.213 GB, free: 63.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=311): time 5.922e-06/17.57, allocations: 5.5 kB / 6.213 GB, free: 63.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=311): time 0.0202/17.6, allocations: 4.055 MB / 6.217 GB, free: 63.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/17.6, allocations: 346.9 kB / 6.218 GB, free: 62.92 MB / 1.042 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.006241/17.6, allocations: 2.64 MB / 6.22 GB, free: 62.61 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009892/17.6, allocations: 30.8 kB / 6.22 GB, free: 62.58 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/17.6, allocations: 1.392 MB / 6.222 GB, free: 61.84 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001861/17.61, allocations: 1.013 MB / 6.223 GB, free: 61.16 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/17.61, allocations: 0 / 6.223 GB, free: 61.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002071/17.61, allocations: 435.4 kB / 6.223 GB, free: 60.85 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00399/17.61, allocations: 1.43 MB / 6.225 GB, free: 60.84 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004486/17.61, allocations: 2.187 MB / 6.227 GB, free: 60.05 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.008896/17.62, allocations: 2.386 MB / 6.229 GB, free: 59.8 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/17.62, allocations: 3.219 kB / 6.229 GB, free: 59.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.01768/17.64, allocations: 4.564 MB / 6.233 GB, free: 59.44 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001159/17.64, allocations: 6.222 MB / 6.24 GB, free: 52.95 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-05/17.64, allocations: 14.03 kB / 6.24 GB, free: 52.95 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/17.65, allocations: 374.7 kB / 6.24 GB, free: 52.91 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01264/17.66, allocations: 1.159 MB / 6.241 GB, free: 52.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/17.67, allocations: 7.485 MB / 6.248 GB, free: 46.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/17.68, allocations: 0.6614 MB / 6.249 GB, free: 46.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006694/17.68, allocations: 170.1 kB / 6.249 GB, free: 46.23 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/17.68, allocations: 8.781 kB / 6.249 GB, free: 46.23 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0154/17.69, allocations: 4.142 MB / 6.253 GB, free: 46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.748e-05/17.69, allocations: 14.47 kB / 6.253 GB, free: 46 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/17.7, allocations: 380.9 kB / 6.254 GB, free: 45.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/17.71, allocations: 1.145 MB / 6.255 GB, free: 45.96 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009442/17.72, allocations: 7.802 MB / 6.262 GB, free: 39.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/17.73, allocations: 0.5956 MB / 6.263 GB, free: 39.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000626/17.73, allocations: 167.4 kB / 6.263 GB, free: 39.11 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.001245/17.73, allocations: 193.3 kB / 6.263 GB, free: 38.99 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/17.73, allocations: 419.8 kB / 6.264 GB, free: 38.78 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/17.75, allocations: 4.645 MB / 6.268 GB, free: 38.43 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/17.75, allocations: 32.94 kB / 6.268 GB, free: 38.43 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/17.75, allocations: 2.562 kB / 6.268 GB, free: 38.43 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01321/17.76, allocations: 3.572 MB / 6.272 GB, free: 38.13 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/17.79, allocations: 9.373 MB / 6.281 GB, free: 37.07 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/17.79, allocations: 0 / 6.281 GB, free: 37.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008757/17.8, allocations: 0.8388 MB / 6.282 GB, free: 37.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/17.8, allocations: 385.5 kB / 6.282 GB, free: 37.03 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003943/17.8, allocations: 61.69 kB / 6.282 GB, free: 37.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/17.81, allocations: 8.996 MB / 6.291 GB, free: 45.23 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/17.81, allocations: 3.812 kB / 6.291 GB, free: 45.23 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02022/17.83, allocations: 6.453 MB / 6.297 GB, free: 44.45 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003753/17.84, allocations: 1.063 MB / 6.298 GB, free: 44.09 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/17.84, allocations: 9.969 kB / 6.298 GB, free: 44.09 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008249/17.85, allocations: 445.6 kB / 6.299 GB, free: 44.07 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/17.85, allocations: 178 kB / 6.299 GB, free: 44.06 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004818/17.85, allocations: 134.6 kB / 6.299 GB, free: 44.06 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.004234/17.85, allocations: 1.943 MB / 6.301 GB, free: 43.88 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01556/17.87, allocations: 3.184 MB / 6.304 GB, free: 43.4 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.01258/17.88, allocations: 7.485 MB / 6.311 GB, free: 39.94 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02054/17.9, allocations: 6.84 MB / 6.318 GB, free: 39.09 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/17.9, allocations: 6.641 kB / 6.318 GB, free: 39.08 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.006475/17.91, allocations: 2.367 MB / 6.32 GB, free: 38.57 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01463/17.92, allocations: 1.71 MB / 6.322 GB, free: 38.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/17.95, allocations: 7.854 MB / 6.33 GB, free: 36.91 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006911/17.96, allocations: 3.29 MB / 6.333 GB, free: 36.11 MB / 1.057 GB Notification: Performance of SimCode: time 1.132e-06/17.96, allocations: 0 / 6.333 GB, free: 36.11 MB / 1.057 GB Notification: Performance of Templates: time 0.7953/18.76, allocations: 144.8 MB / 6.474 GB, free: 208.2 MB / 1.089 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)