Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3") [: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.321/1.321, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009572/0.0009572, allocations: 177.3 kB / 366.3 MB, free: 1.98 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.008/1.008, allocations: 205.1 MB / 0.6256 GB, free: 5.898 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.000821/0.000821, allocations: 90.67 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.691e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4122, allocations: 116.3 MB / 0.9725 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.554/3.966, allocations: 2.514 GB / 3.486 GB, free: 318.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/3.966, allocations: 91.94 kB / 3.486 GB, free: 318.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.815/10.78, allocations: 2.682 GB / 6.168 GB, free: 85.43 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0004054/10.78, allocations: 140.7 kB / 6.168 GB, free: 85.41 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.01179/10.79, allocations: 5.674 MB / 6.174 GB, free: 82.95 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/10.79, allocations: 9.625 kB / 6.174 GB, free: 82.95 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/10.81, allocations: 3.528 MB / 6.177 GB, free: 82.63 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/10.83, allocations: 5.175 MB / 6.182 GB, free: 81.83 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/10.83, allocations: 140.7 kB / 6.182 GB, free: 81.83 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007693/10.83, allocations: 247.2 kB / 6.183 GB, free: 81.83 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007284/10.84, allocations: 4.673 MB / 6.187 GB, free: 81.81 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00645/10.84, allocations: 4.366 MB / 6.192 GB, free: 81.39 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.783e-05/10.84, allocations: 1.75 kB / 6.192 GB, free: 81.39 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/10.84, allocations: 10.78 kB / 6.192 GB, free: 81.39 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.816e-05/10.84, allocations: 159.6 kB / 6.192 GB, free: 81.38 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/10.87, allocations: 20.56 MB / 6.212 GB, free: 74.1 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/10.87, allocations: 3.297 MB / 6.215 GB, free: 73.95 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/10.88, allocations: 1.918 MB / 6.217 GB, free: 73.93 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/10.89, allocations: 8.089 MB / 6.225 GB, free: 71.5 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002615/10.89, allocations: 2.112 MB / 6.227 GB, free: 71.38 MB / 1.057 GB Notification: Performance of pre-optimization done (n=326): time 4.919e-06/10.89, allocations: 0 / 6.227 GB, free: 71.38 MB / 1.057 GB Notification: Performance of matching and sorting (n=333): time 0.0208/10.91, allocations: 8.966 MB / 6.236 GB, free: 69.9 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/10.91, allocations: 323.8 kB / 6.236 GB, free: 69.55 MB / 1.057 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.004223/10.91, allocations: 2.563 MB / 6.238 GB, free: 69.25 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002738/10.91, allocations: 33.64 kB / 6.238 GB, free: 69.22 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/10.92, allocations: 1.378 MB / 6.24 GB, free: 68.49 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008401/10.92, allocations: 1.07 MB / 6.241 GB, free: 67.76 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/10.92, allocations: 0 / 6.241 GB, free: 67.76 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001565/10.92, allocations: 446 kB / 6.241 GB, free: 67.45 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/10.92, allocations: 1.492 MB / 6.243 GB, free: 67.45 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/10.92, allocations: 2.243 MB / 6.245 GB, free: 66.66 MB / 1.057 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.004977/10.93, allocations: 2.438 MB / 6.247 GB, free: 66.42 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/10.93, allocations: 5.969 kB / 6.247 GB, free: 66.42 MB / 1.057 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01057/10.94, allocations: 4.931 MB / 6.252 GB, free: 66.04 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009294/10.94, allocations: 6.221 MB / 6.258 GB, free: 59.54 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/10.94, allocations: 16.84 kB / 6.258 GB, free: 59.54 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/10.94, allocations: 0.6364 MB / 6.259 GB, free: 59.49 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/10.95, allocations: 1.142 MB / 6.26 GB, free: 59.49 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009485/10.96, allocations: 10.32 MB / 6.27 GB, free: 52.18 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006072/10.96, allocations: 491 kB / 6.27 GB, free: 52.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006075/10.96, allocations: 174.6 kB / 6.271 GB, free: 52.16 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/10.96, allocations: 9.531 kB / 6.271 GB, free: 52.16 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/10.97, allocations: 4.508 MB / 6.275 GB, free: 51.92 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/10.97, allocations: 16.61 kB / 6.275 GB, free: 51.92 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/10.98, allocations: 0.6427 MB / 6.276 GB, free: 51.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005953/10.98, allocations: 1.134 MB / 6.277 GB, free: 51.86 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/10.99, allocations: 11.2 MB / 6.288 GB, free: 43.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005752/11, allocations: 489.3 kB / 6.288 GB, free: 43.77 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005771/11, allocations: 171 kB / 6.288 GB, free: 43.77 MB / 1.057 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: 12 (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,$PRE.con.y,con.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 397 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,2 23,1 4,1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001063/11, allocations: 186.5 kB / 6.289 GB, free: 43.66 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/11, allocations: 422.8 kB / 6.289 GB, free: 43.44 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/11.01, allocations: 4.958 MB / 6.294 GB, free: 43.09 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/11.01, allocations: 33.53 kB / 6.294 GB, free: 43.09 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/11.01, allocations: 4.562 kB / 6.294 GB, free: 43.09 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007786/11.02, allocations: 3.831 MB / 6.298 GB, free: 42.8 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/11.04, allocations: 9.756 MB / 6.307 GB, free: 41.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/11.04, allocations: 3.906 kB / 6.307 GB, free: 41.82 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00484/11.04, allocations: 0.9306 MB / 6.308 GB, free: 41.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/11.04, allocations: 414.1 kB / 6.308 GB, free: 41.77 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/11.04, allocations: 71.08 kB / 6.308 GB, free: 41.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006224/11.05, allocations: 9.014 MB / 6.317 GB, free: 33.98 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/11.05, allocations: 0 / 6.317 GB, free: 33.98 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01165/11.06, allocations: 6.875 MB / 6.324 GB, free: 33.2 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/11.06, allocations: 1.03 MB / 6.325 GB, free: 32.88 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/11.07, allocations: 15.36 kB / 6.325 GB, free: 32.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005184/11.07, allocations: 482.7 kB / 6.325 GB, free: 32.86 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/11.07, allocations: 191.3 kB / 6.326 GB, free: 32.86 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003615/11.07, allocations: 144.4 kB / 6.326 GB, free: 32.86 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.002984/11.07, allocations: 1.898 MB / 6.328 GB, free: 32.68 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01107/11.09, allocations: 2.827 MB / 6.33 GB, free: 32.54 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.medium.X[2],vol.dynBal.medium.dT,vol.dynBal.m,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: 6 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 332 * 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%) 1,(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.009328/11.09, allocations: 7.511 MB / 6.338 GB, free: 29.05 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01211/11.11, allocations: 7.41 MB / 6.345 GB, free: 27.97 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/11.11, allocations: 4.641 kB / 6.345 GB, free: 27.97 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003428/11.11, allocations: 2.523 MB / 6.347 GB, free: 27.46 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007557/11.12, allocations: 1.735 MB / 6.349 GB, free: 27.4 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/11.14, allocations: 8.031 MB / 6.357 GB, free: 25.79 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004368/11.14, allocations: 3.328 MB / 6.36 GB, free: 24.99 MB / 1.057 GB Notification: Performance of SimCode: time 5.41e-07/11.14, allocations: 0 / 6.36 GB, free: 24.99 MB / 1.057 GB Notification: Performance of Templates: time 0.5571/11.7, allocations: 150.5 MB / 6.507 GB, free: 177.7 MB / 1.089 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)