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.001176/0.001176, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001108/0.001108, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.414/1.414, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.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.696/1.696, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001368/0.001369, allocations: 65.27 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2504, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7149/0.9653, allocations: 201.6 MB / 0.9797 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.9769, allocations: 6.264 MB / 0.9858 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.9802, allocations: 28.84 kB / 0.9858 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002692/0.9829, allocations: 0.6599 MB / 0.9865 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008747/0.9917, allocations: 2.515 MB / 0.9889 GB, free: 4.988 MB / 0.7325 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.002278/0.994, allocations: 0.6373 MB / 0.9895 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005449/0.9995, allocations: 3.24 MB / 0.9927 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/1.001, allocations: 1.12 MB / 0.9938 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/1.005, allocations: 1.257 MB / 0.995 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/1.008, allocations: 1.165 MB / 0.9962 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003118/1.008, allocations: 128.1 kB / 0.9963 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005801/1.014, allocations: 2.475 MB / 0.9987 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008079/1.015, allocations: 0.5079 MB / 0.9992 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/1.016, allocations: 0.7404 MB / 0.9999 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006432/1.022, allocations: 2.933 MB / 1.003 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.022, allocations: 0 / 1.003 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/1.022, allocations: 2.438 kB / 1.003 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.876e-05/1.022, allocations: 3.062 kB / 1.003 GB, free: 2.094 MB / 0.7325 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.004766/1.027, allocations: 1.751 MB / 1.004 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.027, allocations: 14.14 kB / 1.005 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/1.03, allocations: 346.6 kB / 1.005 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/1.031, allocations: 0.8317 MB / 1.006 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.088e-05/1.031, allocations: 78.36 kB / 1.006 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.031, allocations: 100.5 kB / 1.006 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.033, allocations: 1.19 MB / 1.007 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/1.033, allocations: 3.984 kB / 1.007 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.034, allocations: 40.77 kB / 1.007 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/1.034, allocations: 63.41 kB / 1.007 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/1.035, allocations: 1.247 MB / 1.008 GB, free: 15.5 MB / 0.7481 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.007102/1.043, allocations: 5.046 MB / 1.013 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.044, allocations: 1.151 MB / 1.014 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/1.045, allocations: 0.5028 MB / 1.015 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/1.045, allocations: 16.73 kB / 1.015 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/1.046, allocations: 489.8 kB / 1.015 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.576e-06/1.046, allocations: 0 / 1.015 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.002025/1.048, allocations: 1.153 MB / 1.016 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.048, allocations: 67.94 kB / 1.017 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/1.049, allocations: 0.5629 MB / 1.017 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/1.049, allocations: 42.61 kB / 1.017 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/1.049, allocations: 455.2 kB / 1.018 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/1.05, allocations: 269.5 kB / 1.018 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.05, allocations: 133 kB / 1.018 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.05, allocations: 384.8 kB / 1.018 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/1.05, allocations: 330 kB / 1.019 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/1.051, allocations: 467.2 kB / 1.019 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.052, allocations: 0.8265 MB / 1.02 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.052, allocations: 0 / 1.02 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001352/1.053, allocations: 0.9237 MB / 1.021 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.053, allocations: 7.156 kB / 1.021 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.053, allocations: 7.25 kB / 1.021 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.053, allocations: 5.188 kB / 1.021 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/1.054, allocations: 156.7 kB / 1.021 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.054, allocations: 14.44 kB / 1.021 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.055, allocations: 135.1 kB / 1.021 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/1.055, allocations: 22.72 kB / 1.021 GB, free: 7.062 MB / 0.7481 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.0006021/1.056, allocations: 330.6 kB / 1.021 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.056, allocations: 75.12 kB / 1.021 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/1.056, allocations: 109.1 kB / 1.022 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.056, allocations: 11.38 kB / 1.022 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/1.056, allocations: 5.812 kB / 1.022 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/1.058, allocations: 1.082 MB / 1.023 GB, free: 5.898 MB / 0.7481 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.003329/1.061, allocations: 2.3 MB / 1.025 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.061, allocations: 0 / 1.025 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.062, allocations: 181.1 kB / 1.025 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.062, allocations: 2.531 kB / 1.025 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/1.062, allocations: 25.08 kB / 1.025 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.062, allocations: 3.188 kB / 1.025 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.062, allocations: 2.375 kB / 1.025 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/1.064, allocations: 1.488 MB / 1.027 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.064, allocations: 252.2 kB / 1.027 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.064, allocations: 20.36 kB / 1.027 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/1.065, allocations: 91.67 kB / 1.027 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/1.065, allocations: 43.41 kB / 1.027 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/1.065, allocations: 31.3 kB / 1.027 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004921/1.066, allocations: 406.5 kB / 1.027 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.066, allocations: 6.469 kB / 1.027 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001006/1.067, allocations: 365 kB / 1.028 GB, free: 2.82 MB / 0.7481 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.0002936/1.067, allocations: 191.9 kB / 1.028 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001766/1.069, allocations: 1.038 MB / 1.029 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.069, allocations: 0 / 1.029 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004958/1.07, allocations: 426.9 kB / 1.029 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.072, allocations: 0.5966 MB / 1.03 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/1.075, allocations: 2.592 MB / 1.032 GB, free: 20 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/1.076, allocations: 1.135 MB / 1.034 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001071/1.077, allocations: 276.8 kB / 1.034 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/1.077, allocations: 74.62 kB / 1.034 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/1.077, allocations: 0 / 1.034 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of Templates: time 0.0302/1.108, allocations: 19.05 MB / 1.052 GB, free: 14.09 MB / 0.7794 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)