Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.521/2.521, allocations: 287.5 MB / 303.2 MB, free: 8.184 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.001255/0.001255, allocations: 182.4 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009366/0.0009365, allocations: 92.61 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 10.98 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.656/7.866, allocations: 2.514 GB / 3.493 GB, free: 158.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/7.866, allocations: 102 kB / 3.493 GB, free: 158.4 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/BaseClasses/WetCoilUARated.mo:54:3-56:36:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cooCoi.UAFroRated.staAir.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/BaseClasses/WetCoilUARated.mo:54:3-56:36:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cooCoi.UAFroRated.staAir.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/BaseClasses/WetCoilUARated.mo:54:3-56:36:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cooCoi.UAFroRated.staAir.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/BaseClasses/WetCoilUARated.mo:54:3-56:36:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cooCoi.UAFroRated.staAir.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/BaseClasses/WetCoilUARated.mo:66:3-68:38:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cooCoi.UAFroRated.staWat.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/BaseClasses/WetCoilUARated.mo:66:3-68:38:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cooCoi.UAFroRated.staWat.T to false. Notification: Performance of FrontEnd - DAE generated: time 13.9/21.77, allocations: 2.649 GB / 6.142 GB, free: 74.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.875e-06/21.77, allocations: 0 / 6.142 GB, free: 74.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0009485/21.77, allocations: 137.7 kB / 6.142 GB, free: 74.6 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.03006/21.8, allocations: 6.523 MB / 6.148 GB, free: 71.52 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/21.8, allocations: 7.406 kB / 6.148 GB, free: 71.52 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03711/21.84, allocations: 3.25 MB / 6.151 GB, free: 71.2 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/21.86, allocations: 5.199 MB / 6.157 GB, free: 70.13 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005455/21.86, allocations: 321.7 kB / 6.157 GB, free: 70.12 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/21.86, allocations: 423.6 kB / 6.157 GB, free: 70.12 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02401/21.89, allocations: 5.433 MB / 6.163 GB, free: 69.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/21.89, allocations: 7.844 kB / 6.163 GB, free: 69.67 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001617/21.89, allocations: 170.5 kB / 6.163 GB, free: 69.67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/21.89, allocations: 158.1 kB / 6.163 GB, free: 69.66 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/21.92, allocations: 5.87 MB / 6.169 GB, free: 69.61 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05941/21.98, allocations: 20.49 MB / 6.189 GB, free: 62.17 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/22, allocations: 4.407 MB / 6.193 GB, free: 61.48 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01034/22.01, allocations: 2.305 MB / 6.195 GB, free: 61.42 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/22.03, allocations: 7.837 MB / 6.203 GB, free: 58.95 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01177/22.04, allocations: 2.559 MB / 6.205 GB, free: 58.06 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003686/22.05, allocations: 278.5 kB / 6.206 GB, free: 57.88 MB / 1.042 GB Notification: Performance of pre-optimization done (n=321): time 1.179e-05/22.05, allocations: 0 / 6.206 GB, free: 57.88 MB / 1.042 GB Notification: Performance of matching and sorting (n=328): time 0.07318/22.12, allocations: 12.85 MB / 6.218 GB, free: 52.32 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/22.12, allocations: 315.2 kB / 6.218 GB, free: 51.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008586/22.13, allocations: 3.323 MB / 6.222 GB, free: 50.7 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/22.13, allocations: 103.5 kB / 6.222 GB, free: 50.62 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/22.13, allocations: 2.068 MB / 6.224 GB, free: 49.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.002051/22.14, allocations: 1.101 MB / 6.225 GB, free: 48.16 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/22.14, allocations: 71.31 kB / 6.225 GB, free: 48.11 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003475/22.14, allocations: 440.8 kB / 6.225 GB, free: 47.74 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/22.15, allocations: 1.977 MB / 6.227 GB, free: 47.06 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/22.16, allocations: 2.78 MB / 6.23 GB, free: 44.79 MB / 1.042 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02383/22.18, allocations: 5.09 MB / 6.235 GB, free: 40 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/22.18, allocations: 4 kB / 6.235 GB, free: 40 MB / 1.042 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02967/22.21, allocations: 5.755 MB / 6.241 GB, free: 34.92 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003251/22.21, allocations: 0.5269 MB / 6.241 GB, free: 34.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.926e-05/22.21, allocations: 19.8 kB / 6.241 GB, free: 34.18 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/22.22, allocations: 0.6837 MB / 6.242 GB, free: 33.63 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/22.23, allocations: 1.095 MB / 6.243 GB, free: 32.75 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/22.25, allocations: 11.42 MB / 6.254 GB, free: 21.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/22.26, allocations: 0.5455 MB / 6.255 GB, free: 20.89 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/22.26, allocations: 171.9 kB / 6.255 GB, free: 20.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/22.26, allocations: 4 kB / 6.255 GB, free: 20.74 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02718/22.29, allocations: 5.398 MB / 6.26 GB, free: 15.54 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.886e-05/22.29, allocations: 16 kB / 6.26 GB, free: 15.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/22.29, allocations: 0.6725 MB / 6.261 GB, free: 14.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/22.3, allocations: 1.081 MB / 6.262 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/22.32, allocations: 12.28 MB / 6.274 GB, free: 0.6445 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/22.33, allocations: 0.5335 MB / 6.274 GB, free: 116 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/22.33, allocations: 171.9 kB / 6.274 GB, free: 15.95 MB / 1.057 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: cooCoi.UAFroRated.TWatIn = 293.15 cooCoi.UAFroRated.hAirIn = 45300.945. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (408): * Single equations (assignments): 396 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {1 1,1 3,1 2,3 22,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004957/22.34, allocations: 1.124 MB / 6.276 GB, free: 14.81 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/22.34, allocations: 438.6 kB / 6.276 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0319/22.37, allocations: 5.706 MB / 6.282 GB, free: 8.621 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.769e-05/22.37, allocations: 40 kB / 6.282 GB, free: 8.582 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/22.37, allocations: 0 / 6.282 GB, free: 8.582 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02717/22.4, allocations: 4.633 MB / 6.286 GB, free: 3.875 MB / 1.057 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04793/22.45, allocations: 10.72 MB / 6.297 GB, free: 9.078 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.414e-05/22.45, allocations: 3.938 kB / 6.297 GB, free: 9.074 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01014/22.46, allocations: 0.8857 MB / 6.297 GB, free: 8.188 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/22.46, allocations: 439.8 kB / 6.298 GB, free: 7.742 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/22.46, allocations: 107.4 kB / 6.298 GB, free: 7.641 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9241/23.38, allocations: 10.64 MB / 6.308 GB, free: 104 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/23.38, allocations: 1.344 kB / 6.308 GB, free: 104 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04088/23.43, allocations: 7.827 MB / 6.316 GB, free: 103.5 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004569/23.43, allocations: 1.03 MB / 6.317 GB, free: 103.4 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/23.43, allocations: 65.22 kB / 6.317 GB, free: 103.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01068/23.44, allocations: 0.5218 MB / 6.318 GB, free: 103.4 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/23.44, allocations: 229.5 kB / 6.318 GB, free: 103.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008243/23.45, allocations: 142.3 kB / 6.318 GB, free: 103.4 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.007692/23.45, allocations: 2.206 MB / 6.32 GB, free: 103.3 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.41e-07/23.45, allocations: 0 / 6.32 GB, free: 103.3 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02052/23.47, allocations: 3.088 MB / 6.323 GB, free: 103.3 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (338): * Single equations (assignments): 325 * 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: 7 * 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: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 1} * 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.01528/23.49, allocations: 7.3 MB / 6.33 GB, free: 100 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.04107/23.53, allocations: 8.988 MB / 6.339 GB, free: 98.86 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/23.53, allocations: 0.5625 kB / 6.339 GB, free: 98.86 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01323/23.54, allocations: 3.108 MB / 6.342 GB, free: 98.18 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01954/23.56, allocations: 1.962 MB / 6.344 GB, free: 98.16 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/23.6, allocations: 11.77 MB / 6.355 GB, free: 93.68 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004281/23.61, allocations: 2.754 MB / 6.358 GB, free: 92.88 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01413/23.62, allocations: 1.488 MB / 6.36 GB, free: 92.84 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003046/23.62, allocations: 414.7 kB / 6.36 GB, free: 92.83 MB / 1.073 GB Notification: Performance of SimCode: time 1.884e-06/23.62, allocations: 1.219 kB / 6.36 GB, free: 92.83 MB / 1.073 GB Notification: Performance of Templates: time 0.3459/23.97, allocations: 149.7 MB / 6.506 GB, free: 84.35 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)