Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00112/0.00112, allocations: 105.6 kB / 16.37 MB, free: 6.477 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.00112/0.00112, allocations: 189.8 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.44 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2434, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6566/0.9001, allocations: 204.1 MB / 0.9841 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.9104, allocations: 6.289 MB / 0.9903 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.9119, allocations: 35.81 kB / 0.9903 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.9139, allocations: 0.7265 MB / 0.991 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.9207, allocations: 2.673 MB / 0.9936 GB, free: 4.02 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.00193/0.9226, allocations: 0.7058 MB / 0.9943 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.9268, allocations: 3.244 MB / 0.9975 GB, free: 72 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.9284, allocations: 1.137 MB / 0.9986 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.9307, allocations: 1.242 MB / 0.9998 GB, free: 13.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.9327, allocations: 1.096 MB / 1.001 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.9329, allocations: 128 kB / 1.001 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004886/0.9378, allocations: 2.358 MB / 1.003 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000596/0.9384, allocations: 0.5143 MB / 1.004 GB, free: 9.57 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009365/0.9393, allocations: 0.7391 MB / 1.005 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.9441, allocations: 2.793 MB / 1.007 GB, free: 6.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9441, allocations: 0 / 1.007 GB, free: 6.027 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.657e-06/0.9441, allocations: 4 kB / 1.007 GB, free: 6.023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.9441, allocations: 0 / 1.007 GB, free: 6.023 MB / 0.795 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.00405/0.9482, allocations: 1.752 MB / 1.009 GB, free: 4.219 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.9482, allocations: 8.031 kB / 1.009 GB, free: 4.211 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.9505, allocations: 350.1 kB / 1.009 GB, free: 3.867 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.9519, allocations: 0.8667 MB / 1.01 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.952, allocations: 74.02 kB / 1.01 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.9521, allocations: 108 kB / 1.01 GB, free: 2.773 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.9541, allocations: 1.187 MB / 1.011 GB, free: 1.555 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.9541, allocations: 7.984 kB / 1.012 GB, free: 1.547 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9542, allocations: 40.55 kB / 1.012 GB, free: 1.508 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.9543, allocations: 58.08 kB / 1.012 GB, free: 1.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.9562, allocations: 1.246 MB / 1.013 GB, free: 200 kB / 0.795 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.006548/0.9628, allocations: 5.081 MB / 1.018 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.9642, allocations: 1.147 MB / 1.019 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007289/0.965, allocations: 0.5011 MB / 1.019 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.9651, allocations: 21.36 kB / 1.019 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007443/0.9658, allocations: 484.2 kB / 1.02 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/0.9658, allocations: 0 / 1.02 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.001999/0.9678, allocations: 1.157 MB / 1.021 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.9679, allocations: 63.98 kB / 1.021 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.9686, allocations: 0.5594 MB / 1.022 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.9687, allocations: 41.7 kB / 1.022 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.969, allocations: 463.6 kB / 1.022 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.9692, allocations: 272.1 kB / 1.022 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.9695, allocations: 126.7 kB / 1.022 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.9696, allocations: 394.8 kB / 1.023 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.9701, allocations: 331.7 kB / 1.023 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.9707, allocations: 454.5 kB / 1.024 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.9718, allocations: 0.8233 MB / 1.024 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.9718, allocations: 4 kB / 1.024 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001383/0.9732, allocations: 0.9233 MB / 1.025 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.9733, allocations: 8 kB / 1.025 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9733, allocations: 3.984 kB / 1.025 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.9733, allocations: 8 kB / 1.025 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.974, allocations: 163.7 kB / 1.025 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.974, allocations: 4 kB / 1.025 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.9748, allocations: 63.83 kB / 1.026 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.9749, allocations: 28 kB / 1.026 GB, free: 2.438 MB / 0.8106 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.0004859/0.9754, allocations: 330.9 kB / 1.026 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.9755, allocations: 79.06 kB / 1.026 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.9757, allocations: 107.6 kB / 1.026 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.9757, allocations: 7.938 kB / 1.026 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9758, allocations: 4 kB / 1.026 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.977, allocations: 1.089 MB / 1.027 GB, free: 0.7305 MB / 0.8106 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.003289/0.9803, allocations: 2.308 MB / 1.029 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.9803, allocations: 0 / 1.029 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008911/0.9812, allocations: 173 kB / 1.03 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.9813, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-05/0.9813, allocations: 20 kB / 1.03 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.9814, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9814, allocations: 4 kB / 1.03 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.9835, allocations: 1.48 MB / 1.031 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.9839, allocations: 260 kB / 1.031 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.984, allocations: 12 kB / 1.031 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.9846, allocations: 23.98 kB / 1.031 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.9847, allocations: 44.58 kB / 1.031 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.9848, allocations: 27.98 kB / 1.031 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005189/0.9853, allocations: 407.1 kB / 1.032 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9853, allocations: 11.88 kB / 1.032 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001006/0.9863, allocations: 367.1 kB / 1.032 GB, free: 11.49 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.0003442/0.9867, allocations: 164.6 kB / 1.032 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.9879, allocations: 0.8058 MB / 1.033 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9879, allocations: 0 / 1.033 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.9885, allocations: 431.5 kB / 1.033 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.9911, allocations: 0.5944 MB / 1.034 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.9944, allocations: 2.219 MB / 1.036 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.9951, allocations: 1.139 MB / 1.037 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.9954, allocations: 71.44 kB / 1.037 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.9954, allocations: 0 / 1.037 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.02356/1.019, allocations: 15.86 MB / 1.053 GB, free: 6.457 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)