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.001714/0.001714, allocations: 99.11 kB / 16.27 MB, free: 6.418 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.001831/0.001831, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.44/1.44, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.775/1.775, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.00142/0.00142, allocations: 71.89 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2598, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6887/0.9486, allocations: 204.1 MB / 0.9834 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.9608, allocations: 6.301 MB / 0.9895 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.9629, allocations: 35.81 kB / 0.9896 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.9655, allocations: 0.7265 MB / 0.9903 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008717/0.9743, allocations: 2.669 MB / 0.9929 GB, free: 4.578 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.002706/0.977, allocations: 0.6941 MB / 0.9936 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005883/0.9829, allocations: 3.244 MB / 0.9967 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.9851, allocations: 1.134 MB / 0.9978 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.9885, allocations: 1.246 MB / 0.999 GB, free: 14.23 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/0.9919, allocations: 1.095 MB / 1 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.9922, allocations: 128 kB / 1 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006368/0.9986, allocations: 2.354 MB / 1.003 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009109/0.9996, allocations: 0.522 MB / 1.003 GB, free: 10.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/1.001, allocations: 0.7333 MB / 1.004 GB, free: 9.398 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005355/1.006, allocations: 2.766 MB / 1.006 GB, free: 6.625 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.007, allocations: 3.938 kB / 1.006 GB, free: 6.621 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.954e-06/1.007, allocations: 4 kB / 1.006 GB, free: 6.617 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.007, allocations: 0 / 1.006 GB, free: 6.617 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.003846/1.01, allocations: 1.752 MB / 1.008 GB, free: 4.812 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.01, allocations: 15.95 kB / 1.008 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/1.013, allocations: 350.1 kB / 1.009 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/1.014, allocations: 0.8311 MB / 1.009 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/1.014, allocations: 74 kB / 1.009 GB, free: 3.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.014, allocations: 100 kB / 1.01 GB, free: 3.402 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/1.016, allocations: 1.195 MB / 1.011 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.016, allocations: 0 / 1.011 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.016, allocations: 47.97 kB / 1.011 GB, free: 2.129 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-05/1.016, allocations: 62.06 kB / 1.011 GB, free: 2.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/1.018, allocations: 1.242 MB / 1.012 GB, free: 0.8164 MB / 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.006127/1.024, allocations: 5.108 MB / 1.017 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/1.025, allocations: 1.159 MB / 1.018 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/1.026, allocations: 0.5012 MB / 1.019 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/1.026, allocations: 20.78 kB / 1.019 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007213/1.027, allocations: 478.1 kB / 1.019 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/1.027, allocations: 0 / 1.019 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.001928/1.029, allocations: 1.161 MB / 1.02 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.029, allocations: 64 kB / 1.02 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/1.03, allocations: 0.5666 MB / 1.021 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/1.03, allocations: 37.7 kB / 1.021 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/1.03, allocations: 463.6 kB / 1.021 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.03, allocations: 268.1 kB / 1.022 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.03, allocations: 130.7 kB / 1.022 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.031, allocations: 386.8 kB / 1.022 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/1.031, allocations: 329.8 kB / 1.022 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/1.032, allocations: 454.5 kB / 1.023 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.033, allocations: 0.8272 MB / 1.024 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.033, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001295/1.034, allocations: 0.9299 MB / 1.025 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.034, allocations: 8 kB / 1.025 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.034, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.034, allocations: 8 kB / 1.025 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/1.035, allocations: 159.4 kB / 1.025 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.035, allocations: 15.88 kB / 1.025 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/1.035, allocations: 63.28 kB / 1.025 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.035, allocations: 24 kB / 1.025 GB, free: 3.023 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.0004695/1.036, allocations: 329.7 kB / 1.025 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.036, allocations: 79.06 kB / 1.025 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/1.036, allocations: 111.6 kB / 1.025 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.036, allocations: 11.94 kB / 1.025 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/1.036, allocations: 3.938 kB / 1.025 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/1.038, allocations: 1.085 MB / 1.026 GB, free: 1.312 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.002988/1.041, allocations: 2.304 MB / 1.029 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.041, allocations: 0 / 1.029 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/1.041, allocations: 175.8 kB / 1.029 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.041, allocations: 7.938 kB / 1.029 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/1.041, allocations: 19.98 kB / 1.029 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.041, allocations: 0 / 1.029 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.041, allocations: 4 kB / 1.029 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.043, allocations: 1.483 MB / 1.03 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/1.044, allocations: 256 kB / 1.03 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.044, allocations: 16 kB / 1.031 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/1.044, allocations: 16 kB / 1.031 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/1.044, allocations: 44.59 kB / 1.031 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/1.045, allocations: 27.92 kB / 1.031 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00046/1.045, allocations: 411.1 kB / 1.031 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.045, allocations: 0 / 1.031 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008861/1.046, allocations: 371 kB / 1.031 GB, free: 12.08 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.0003089/1.046, allocations: 176.8 kB / 1.032 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001681/1.048, allocations: 1.032 MB / 1.033 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/1.048, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/1.048, allocations: 431.5 kB / 1.033 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.051, allocations: 0.5899 MB / 1.034 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/1.054, allocations: 2.23 MB / 1.036 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/1.055, allocations: 1.136 MB / 1.037 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/1.055, allocations: 87.36 kB / 1.037 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/1.055, allocations: 0 / 1.037 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.02334/1.078, allocations: 15.88 MB / 1.052 GB, free: 6.758 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)