Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 90.44 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00527/0.005271, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003906, allocations: 15.77 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2967, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8012/1.098, allocations: 199.2 MB / 1.269 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008595/1.107, allocations: 6.394 MB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/1.108, allocations: 30 kB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/1.11, allocations: 0.6493 MB / 1.276 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00607/1.116, allocations: 2.521 MB / 1.278 GB, free: 5.906 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001676/1.118, allocations: 0.6393 MB / 1.279 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005897/1.124, allocations: 4.828 MB / 1.283 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/1.125, allocations: 0.9167 MB / 1.284 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/1.128, allocations: 1.039 MB / 1.285 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/1.132, allocations: 1.108 MB / 1.286 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004244/1.132, allocations: 57.16 kB / 1.286 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006221/1.138, allocations: 2.708 MB / 1.289 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009327/1.139, allocations: 443.9 kB / 1.29 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/1.141, allocations: 0.672 MB / 1.29 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005858/1.147, allocations: 2.852 MB / 1.293 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.147, allocations: 0 / 1.293 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.147, allocations: 5.031 kB / 1.293 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.951e-05/1.147, allocations: 0 / 1.293 GB, free: 5.512 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004566/1.152, allocations: 1.526 MB / 1.294 GB, free: 20.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.152, allocations: 9.375 kB / 1.294 GB, free: 20.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/1.154, allocations: 343.5 kB / 1.295 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/1.155, allocations: 0.8401 MB / 1.296 GB, free: 20.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/1.155, allocations: 81.7 kB / 1.296 GB, free: 20.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.156, allocations: 100.3 kB / 1.296 GB, free: 20.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.158, allocations: 1.191 MB / 1.297 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.158, allocations: 0.9375 kB / 1.297 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.158, allocations: 45.95 kB / 1.297 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-05/1.158, allocations: 59.5 kB / 1.297 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/1.16, allocations: 1.247 MB / 1.298 GB, free: 20.21 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.006432/1.166, allocations: 5.079 MB / 1.303 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/1.168, allocations: 1.16 MB / 1.304 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/1.169, allocations: 0.5002 MB / 1.305 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.776e-05/1.169, allocations: 21.67 kB / 1.305 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008497/1.17, allocations: 484.8 kB / 1.305 GB, free: 17.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.937e-06/1.17, allocations: 0.9062 kB / 1.305 GB, free: 17.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002323/1.172, allocations: 1.16 MB / 1.306 GB, free: 17.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.172, allocations: 59.69 kB / 1.307 GB, free: 17.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000882/1.173, allocations: 0.5752 MB / 1.307 GB, free: 16.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/1.173, allocations: 40.27 kB / 1.307 GB, free: 16.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/1.174, allocations: 463.8 kB / 1.308 GB, free: 16.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/1.174, allocations: 269.7 kB / 1.308 GB, free: 16.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.174, allocations: 64.52 kB / 1.308 GB, free: 16.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000251/1.174, allocations: 383.8 kB / 1.308 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/1.175, allocations: 330.1 kB / 1.309 GB, free: 16.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/1.175, allocations: 456 kB / 1.309 GB, free: 16.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.177, allocations: 0.8216 MB / 1.31 GB, free: 15.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/1.177, allocations: 1.219 kB / 1.31 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001574/1.178, allocations: 0.9315 MB / 1.311 GB, free: 15.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.178, allocations: 9.531 kB / 1.311 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.178, allocations: 2.438 kB / 1.311 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/1.178, allocations: 6.062 kB / 1.311 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/1.179, allocations: 155.1 kB / 1.311 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/1.179, allocations: 11.88 kB / 1.311 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.18, allocations: 158.8 kB / 1.311 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/1.181, allocations: 33.84 kB / 1.311 GB, free: 15.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007997/1.181, allocations: 331.6 kB / 1.311 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/1.182, allocations: 87.22 kB / 1.311 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/1.182, allocations: 112.3 kB / 1.312 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.182, allocations: 8.094 kB / 1.312 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/1.182, allocations: 0 / 1.312 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/1.183, allocations: 1.093 MB / 1.313 GB, free: 15.17 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 postOpt removeSimpleEquations (simulation): time 0.003406/1.187, allocations: 2.309 MB / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.187, allocations: 1.969 kB / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/1.187, allocations: 174.3 kB / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.188, allocations: 5.875 kB / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/1.188, allocations: 16.75 kB / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/1.188, allocations: 4.281 kB / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.188, allocations: 0 / 1.315 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.19, allocations: 1.353 MB / 1.316 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/1.19, allocations: 253 kB / 1.317 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.191, allocations: 17.64 kB / 1.317 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.192, allocations: 98.95 kB / 1.317 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/1.192, allocations: 43.83 kB / 1.317 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/1.192, allocations: 26.95 kB / 1.317 GB, free: 14.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006079/1.193, allocations: 421.1 kB / 1.317 GB, free: 14.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.193, allocations: 0 / 1.317 GB, free: 14.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00136/1.194, allocations: 364.7 kB / 1.318 GB, free: 14.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002943/1.194, allocations: 179.2 kB / 1.318 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001092/1.195, allocations: 0.7946 MB / 1.319 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.195, allocations: 1.859 kB / 1.319 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/1.196, allocations: 429.2 kB / 1.319 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.199, allocations: 0.5667 MB / 1.32 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/1.202, allocations: 2.741 MB / 1.322 GB, free: 12.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007126/1.203, allocations: 1.144 MB / 1.323 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001022/1.204, allocations: 273.9 kB / 1.324 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/1.204, allocations: 74.2 kB / 1.324 GB, free: 11.78 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.204, allocations: 0 / 1.324 GB, free: 11.78 MB / 1.014 GB Notification: Performance of Templates: time 0.02897/1.233, allocations: 18.14 MB / 1.341 GB, free: 6.289 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)