Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 194.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.412/2.412, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 61.25 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2556, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1644/0.42, allocations: 179.3 MB / 1.243 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5031/0.9232, allocations: 10.96 MB / 1.254 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.9254, allocations: 85.25 kB / 1.254 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.9303, allocations: 2 MB / 1.256 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.9341, allocations: 1.619 MB / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.9361, allocations: 0.7763 MB / 1.258 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003322/0.9394, allocations: 3.127 MB / 1.261 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.9408, allocations: 1.316 MB / 1.263 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.9423, allocations: 1.099 MB / 1.264 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.9439, allocations: 1.114 MB / 1.265 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.9441, allocations: 129.9 kB / 1.265 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.9457, allocations: 0.9136 MB / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.9461, allocations: 491.6 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009348/0.9471, allocations: 1.095 MB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.95, allocations: 3.212 MB / 1.271 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9501, allocations: 1.359 kB / 1.271 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9501, allocations: 1.625 kB / 1.271 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.979e-05/0.9501, allocations: 0.6562 kB / 1.271 GB, free: 4.742 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00376/0.9539, allocations: 2.755 MB / 1.273 GB, free: 19.31 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.9539, allocations: 9.844 kB / 1.273 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.9552, allocations: 375.2 kB / 1.274 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.9578, allocations: 1.883 MB / 1.275 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.9579, allocations: 59.12 kB / 1.275 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.958, allocations: 76.34 kB / 1.276 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.9595, allocations: 0.9383 MB / 1.276 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.9596, allocations: 5.938 kB / 1.276 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.9596, allocations: 29.7 kB / 1.276 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.9597, allocations: 26.44 kB / 1.277 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.9607, allocations: 0.7046 MB / 1.277 GB, free: 18.43 MB / 1.014 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.00498/0.9657, allocations: 4.501 MB / 1.282 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.9661, allocations: 314.8 kB / 1.282 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.9664, allocations: 181.1 kB / 1.282 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.9665, allocations: 95.86 kB / 1.282 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.9665, allocations: 40.83 kB / 1.282 GB, free: 16.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.9666, allocations: 1 kB / 1.282 GB, free: 16.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.0025/0.9691, allocations: 1.71 MB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.9691, allocations: 56.27 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.9723, allocations: 2.972 MB / 1.287 GB, free: 15.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.9723, allocations: 35.83 kB / 1.287 GB, free: 15.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/0.973, allocations: 1.057 MB / 1.288 GB, free: 14.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.9731, allocations: 115.1 kB / 1.288 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.9732, allocations: 107.4 kB / 1.288 GB, free: 14.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9733, allocations: 329.7 kB / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.9736, allocations: 164.7 kB / 1.289 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.9739, allocations: 367 kB / 1.289 GB, free: 14.31 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.9756, allocations: 1.08 MB / 1.29 GB, free: 13.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9756, allocations: 3.312 kB / 1.29 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009793/0.9766, allocations: 0.7999 MB / 1.291 GB, free: 13.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9767, allocations: 11.55 kB / 1.291 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9767, allocations: 5.781 kB / 1.291 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.9768, allocations: 59.94 kB / 1.291 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.9772, allocations: 102.9 kB / 1.291 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.9785, allocations: 1.861 MB / 1.293 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.9793, allocations: 31.33 kB / 1.293 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.9793, allocations: 23.94 kB / 1.293 GB, free: 12.31 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007887/0.9801, allocations: 0.7946 MB / 1.294 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.9803, allocations: 234.5 kB / 1.294 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.9806, allocations: 258.1 kB / 1.294 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9806, allocations: 2.875 kB / 1.294 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9807, allocations: 2.156 kB / 1.294 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005766/0.9812, allocations: 0.6023 MB / 1.295 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.9837, allocations: 2.058 MB / 1.297 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.9837, allocations: 3.812 kB / 1.297 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.984, allocations: 69.05 kB / 1.297 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.9841, allocations: 57.81 kB / 1.297 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.9842, allocations: 8.719 kB / 1.297 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.9854, allocations: 1.863 MB / 1.299 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9854, allocations: 12.47 kB / 1.299 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.9863, allocations: 0.9313 MB / 1.3 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.9869, allocations: 409.4 kB / 1.3 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.9871, allocations: 9.219 kB / 1.3 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.9876, allocations: 16.81 kB / 1.3 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.9877, allocations: 34.33 kB / 1.3 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.9877, allocations: 15 kB / 1.3 GB, free: 9.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002384/0.9901, allocations: 2.101 MB / 1.302 GB, free: 8.945 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9901, allocations: 1 kB / 1.302 GB, free: 8.945 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009573/0.9911, allocations: 305.5 kB / 1.302 GB, free: 8.941 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003393/0.9914, allocations: 167.9 kB / 1.302 GB, free: 8.852 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007578/0.9922, allocations: 0.5418 MB / 1.303 GB, free: 8.734 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9922, allocations: 0 / 1.303 GB, free: 8.734 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.9925, allocations: 302.2 kB / 1.303 GB, free: 8.621 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.9957, allocations: 0.9548 MB / 1.304 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/1.001, allocations: 4.194 MB / 1.308 GB, free: 7.008 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.003, allocations: 1.956 MB / 1.31 GB, free: 6.238 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0012/1.004, allocations: 336.7 kB / 1.311 GB, free: 6.176 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/1.004, allocations: 100.6 kB / 1.311 GB, free: 6.168 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/1.004, allocations: 0 / 1.311 GB, free: 6.168 MB / 1.014 GB Notification: Performance of Templates: time 0.04216/1.046, allocations: 29.83 MB / 1.34 GB, free: 13.84 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)