Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.48/2.48, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001324/0.001324, allocations: 185 kB / 371.8 MB, free: 10.83 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.019/2.019, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.001338/0.001338, allocations: 106.3 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 11.52 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.507/7.736, allocations: 2.513 GB / 3.492 GB, free: 159.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/7.736, allocations: 106 kB / 3.493 GB, free: 159.3 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.78/21.52, allocations: 2.648 GB / 6.14 GB, free: 74.69 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.585e-06/21.52, allocations: 2.812 kB / 6.14 GB, free: 74.69 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0009347/21.52, allocations: 136.2 kB / 6.14 GB, free: 74.66 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.0296/21.55, allocations: 6.472 MB / 6.147 GB, free: 71.6 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/21.55, allocations: 12.72 kB / 6.147 GB, free: 71.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03682/21.58, allocations: 3.233 MB / 6.15 GB, free: 71.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02218/21.61, allocations: 5.192 MB / 6.155 GB, free: 70.23 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005104/21.61, allocations: 320.5 kB / 6.155 GB, free: 70.22 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/21.61, allocations: 421.5 kB / 6.156 GB, free: 70.21 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/21.63, allocations: 5.392 MB / 6.161 GB, free: 69.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/21.63, allocations: 11.25 kB / 6.161 GB, free: 69.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/21.63, allocations: 166.5 kB / 6.161 GB, free: 69.79 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/21.63, allocations: 154.6 kB / 6.161 GB, free: 69.79 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/21.66, allocations: 5.84 MB / 6.167 GB, free: 69.69 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.0581/21.72, allocations: 20.6 MB / 6.187 GB, free: 62.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/21.73, allocations: 4.229 MB / 6.191 GB, free: 61.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0099/21.74, allocations: 2.168 MB / 6.193 GB, free: 61.29 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/21.77, allocations: 7.363 MB / 6.201 GB, free: 59.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009863/21.78, allocations: 2.399 MB / 6.203 GB, free: 58.99 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00315/21.78, allocations: 283.3 kB / 6.203 GB, free: 58.8 MB / 1.042 GB Notification: Performance of pre-optimization done (n=310): time 8.115e-06/21.78, allocations: 0 / 6.203 GB, free: 58.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=310): time 0.03831/21.82, allocations: 6.967 MB / 6.21 GB, free: 56.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/21.82, allocations: 340.2 kB / 6.21 GB, free: 55.66 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008449/21.83, allocations: 3.477 MB / 6.214 GB, free: 54.34 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/21.83, allocations: 95.69 kB / 6.214 GB, free: 54.27 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002573/21.83, allocations: 2.076 MB / 6.216 GB, free: 52.67 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001798/21.83, allocations: 1.05 MB / 6.217 GB, free: 51.85 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004775/21.83, allocations: 66.56 kB / 6.217 GB, free: 51.8 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002451/21.83, allocations: 444.1 kB / 6.217 GB, free: 51.43 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009147/21.84, allocations: 1.895 MB / 6.219 GB, free: 50.78 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/21.85, allocations: 2.704 MB / 6.222 GB, free: 49.22 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.02234/21.87, allocations: 4.865 MB / 6.227 GB, free: 46.86 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-05/21.87, allocations: 14.56 kB / 6.227 GB, free: 46.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=440) (initialization): time 0.02908/21.9, allocations: 5.494 MB / 6.232 GB, free: 43.04 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/21.9, allocations: 0.5197 MB / 6.232 GB, free: 42.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/21.9, allocations: 19.94 kB / 6.233 GB, free: 42.31 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/21.91, allocations: 436.5 kB / 6.233 GB, free: 41.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/21.92, allocations: 1.126 MB / 6.234 GB, free: 41.06 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/21.93, allocations: 8.383 MB / 6.242 GB, free: 32.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/21.94, allocations: 0.5548 MB / 6.243 GB, free: 31.94 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/21.94, allocations: 177.6 kB / 6.243 GB, free: 31.79 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/21.94, allocations: 4 kB / 6.243 GB, free: 31.79 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02435/21.97, allocations: 5.151 MB / 6.248 GB, free: 27.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.467e-05/21.97, allocations: 12 kB / 6.248 GB, free: 27.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/21.97, allocations: 432.9 kB / 6.248 GB, free: 26.92 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/21.98, allocations: 1.095 MB / 6.249 GB, free: 26.04 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/21.99, allocations: 8.677 MB / 6.258 GB, free: 16.99 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/22, allocations: 0.5286 MB / 6.258 GB, free: 16.58 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007396/22, allocations: 161.7 kB / 6.259 GB, free: 16.45 MB / 1.042 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (421): * Single equations (assignments): 409 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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: 0 * Non-linear torn systems: 6 {1 1,1 3,1 2,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004686/22.01, allocations: 1.105 MB / 6.26 GB, free: 15.39 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/22.01, allocations: 434.7 kB / 6.26 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02593/22.04, allocations: 5.366 MB / 6.265 GB, free: 10.45 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/22.04, allocations: 36 kB / 6.265 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/22.04, allocations: 0 / 6.265 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02052/22.06, allocations: 4.228 MB / 6.27 GB, free: 6.113 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 postOpt removeSimpleEquations (simulation): time 0.03884/22.1, allocations: 10.13 MB / 6.279 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/22.1, allocations: 0 / 6.279 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009413/22.11, allocations: 0.8178 MB / 6.28 GB, free: 11.07 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/22.11, allocations: 390 kB / 6.281 GB, free: 10.68 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008392/22.11, allocations: 95.92 kB / 6.281 GB, free: 10.59 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/22.12, allocations: 9.182 MB / 6.29 GB, free: 0.6758 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/22.12, allocations: 0 / 6.29 GB, free: 0.6758 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03608/22.16, allocations: 7.309 MB / 6.297 GB, free: 9.238 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004354/22.16, allocations: 1.011 MB / 6.298 GB, free: 8.203 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/22.16, allocations: 67.94 kB / 6.298 GB, free: 8.137 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009053/22.17, allocations: 0.4991 MB / 6.298 GB, free: 7.637 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007823/22.17, allocations: 202.3 kB / 6.298 GB, free: 7.438 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005729/22.18, allocations: 135.6 kB / 6.299 GB, free: 7.309 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.006987/22.18, allocations: 2.34 MB / 6.301 GB, free: 4.965 MB / 1.073 GB Notification: Performance of sort global known variables: time 9.02e-07/22.18, allocations: 4 kB / 6.301 GB, free: 4.961 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01839/22.2, allocations: 3.377 MB / 6.304 GB, free: 1.582 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 306 * 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%) 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.9108/23.11, allocations: 7.288 MB / 6.311 GB, free: 105 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0402/23.15, allocations: 8.177 MB / 6.319 GB, free: 104.1 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/23.15, allocations: 3.188 kB / 6.319 GB, free: 104.1 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0117/23.16, allocations: 2.795 MB / 6.322 GB, free: 103.5 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01967/23.18, allocations: 1.987 MB / 6.324 GB, free: 103.5 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/23.22, allocations: 11.51 MB / 6.335 GB, free: 99.07 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005441/23.23, allocations: 2.715 MB / 6.338 GB, free: 98.26 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01434/23.24, allocations: 1.501 MB / 6.339 GB, free: 98.22 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003082/23.24, allocations: 406 kB / 6.34 GB, free: 98.22 MB / 1.073 GB Notification: Performance of SimCode: time 1.022e-06/23.24, allocations: 0 / 6.34 GB, free: 98.22 MB / 1.073 GB Notification: Performance of Templates: time 0.3358/23.58, allocations: 144.9 MB / 6.481 GB, free: 90.2 MB / 1.073 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)