Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.095/2.095, 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.001629/0.001629, allocations: 181.2 kB / 360.4 MB, free: 7.52 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.623/1.623, allocations: 205.2 MB / 0.6188 GB, free: 12.43 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.001218/0.001218, allocations: 88.55 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.054e-06/7.223e-06, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5388, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.3/5.839, allocations: 2.513 GB / 3.475 GB, free: 267.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/5.84, allocations: 90.39 kB / 3.476 GB, free: 267.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 11.39/17.22, allocations: 2.681 GB / 6.157 GB, free: 78.12 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.000789/17.23, allocations: 134.3 kB / 6.157 GB, free: 78.1 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: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02186/17.25, allocations: 5.666 MB / 6.163 GB, free: 75.46 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/17.25, allocations: 9.594 kB / 6.163 GB, free: 75.46 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04009/17.29, allocations: 3.533 MB / 6.166 GB, free: 75.14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0221/17.31, allocations: 5.191 MB / 6.171 GB, free: 74.34 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/17.31, allocations: 130.5 kB / 6.171 GB, free: 74.34 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/17.31, allocations: 247.5 kB / 6.171 GB, free: 74.34 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01493/17.33, allocations: 4.674 MB / 6.176 GB, free: 74.32 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/17.34, allocations: 4.366 MB / 6.18 GB, free: 73.9 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/17.34, allocations: 3.594 kB / 6.18 GB, free: 73.9 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007328/17.34, allocations: 4.031 kB / 6.18 GB, free: 73.9 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/17.34, allocations: 160.8 kB / 6.18 GB, free: 73.89 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05351/17.39, allocations: 20.56 MB / 6.201 GB, free: 66.62 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009021/17.4, allocations: 3.293 MB / 6.204 GB, free: 66.47 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/17.41, allocations: 1.93 MB / 6.206 GB, free: 66.44 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/17.43, allocations: 8.089 MB / 6.214 GB, free: 64 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005021/17.44, allocations: 2.112 MB / 6.216 GB, free: 63.87 MB / 1.042 GB Notification: Performance of pre-optimization done (n=326): time 6.752e-06/17.44, allocations: 0 / 6.216 GB, free: 63.87 MB / 1.042 GB Notification: Performance of matching and sorting (n=333): time 0.03882/17.47, allocations: 8.97 MB / 6.224 GB, free: 62.4 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/17.47, allocations: 328.1 kB / 6.225 GB, free: 62.05 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.006027/17.48, allocations: 2.561 MB / 6.227 GB, free: 61.75 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/17.48, allocations: 31.58 kB / 6.227 GB, free: 61.72 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/17.48, allocations: 1.376 MB / 6.229 GB, free: 60.99 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001943/17.49, allocations: 1.075 MB / 6.23 GB, free: 60.26 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/17.49, allocations: 2.5 kB / 6.23 GB, free: 60.26 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002172/17.49, allocations: 440.8 kB / 6.23 GB, free: 59.95 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/17.49, allocations: 1.491 MB / 6.231 GB, free: 59.94 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/17.5, allocations: 2.243 MB / 6.234 GB, free: 59.16 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.009333/17.5, allocations: 2.446 MB / 6.236 GB, free: 58.92 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/17.5, allocations: 9.25 kB / 6.236 GB, free: 58.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01996/17.52, allocations: 4.928 MB / 6.241 GB, free: 58.53 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001202/17.53, allocations: 6.222 MB / 6.247 GB, free: 52.04 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.687e-05/17.53, allocations: 19.56 kB / 6.247 GB, free: 52.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004206/17.53, allocations: 0.6289 MB / 6.248 GB, free: 51.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/17.54, allocations: 1.139 MB / 6.249 GB, free: 51.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/17.56, allocations: 10.31 MB / 6.259 GB, free: 44.67 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/17.57, allocations: 493 kB / 6.259 GB, free: 44.65 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007209/17.57, allocations: 171.8 kB / 6.259 GB, free: 44.65 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/17.57, allocations: 3.812 kB / 6.259 GB, free: 44.65 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01947/17.59, allocations: 4.513 MB / 6.264 GB, free: 44.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/17.59, allocations: 15.41 kB / 6.264 GB, free: 44.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/17.6, allocations: 0.6381 MB / 6.264 GB, free: 44.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/17.61, allocations: 1.133 MB / 6.266 GB, free: 44.36 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/17.63, allocations: 11.2 MB / 6.276 GB, free: 36.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/17.64, allocations: 486.1 kB / 6.277 GB, free: 36.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006929/17.64, allocations: 173.2 kB / 6.277 GB, free: 36.27 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: 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.001334/17.64, allocations: 183.7 kB / 6.277 GB, free: 36.16 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/17.64, allocations: 433.3 kB / 6.278 GB, free: 35.94 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/17.66, allocations: 4.959 MB / 6.283 GB, free: 35.59 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/17.66, allocations: 33.16 kB / 6.283 GB, free: 35.59 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/17.66, allocations: 1.875 kB / 6.283 GB, free: 35.59 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01509/17.68, allocations: 3.828 MB / 6.286 GB, free: 35.3 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03151/17.71, allocations: 9.771 MB / 6.296 GB, free: 34.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/17.71, allocations: 0 / 6.296 GB, free: 34.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01017/17.72, allocations: 0.9234 MB / 6.297 GB, free: 34.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/17.72, allocations: 413.2 kB / 6.297 GB, free: 34.26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004923/17.72, allocations: 71.19 kB / 6.297 GB, free: 34.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/17.73, allocations: 9.023 MB / 6.306 GB, free: 26.47 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/17.73, allocations: 0 / 6.306 GB, free: 26.47 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02279/17.76, allocations: 6.867 MB / 6.313 GB, free: 25.36 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/17.76, allocations: 1.029 MB / 6.314 GB, free: 24.73 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/17.76, allocations: 18.09 kB / 6.314 GB, free: 24.72 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009431/17.77, allocations: 480.3 kB / 6.314 GB, free: 24.7 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/17.77, allocations: 191.1 kB / 6.314 GB, free: 24.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005601/17.77, allocations: 149.6 kB / 6.315 GB, free: 24.64 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.00452/17.78, allocations: 1.898 MB / 6.316 GB, free: 23.84 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02021/17.8, allocations: 2.829 MB / 6.319 GB, free: 23.37 MB / 1.042 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.01427/17.81, allocations: 7.488 MB / 6.326 GB, free: 19.79 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02318/17.84, allocations: 7.413 MB / 6.334 GB, free: 16.49 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/17.84, allocations: 5.438 kB / 6.334 GB, free: 16.49 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.006689/17.84, allocations: 2.523 MB / 6.336 GB, free: 15.27 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/17.86, allocations: 1.736 MB / 6.338 GB, free: 14.93 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/17.89, allocations: 8.034 MB / 6.346 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007147/17.9, allocations: 3.328 MB / 6.349 GB, free: 8.902 MB / 1.042 GB Notification: Performance of SimCode: time 1.653e-06/17.9, allocations: 0 / 6.349 GB, free: 8.902 MB / 1.042 GB Notification: Performance of Templates: time 0.8336/18.73, allocations: 150.6 MB / 6.496 GB, free: 193.9 MB / 1.073 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)