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.001244/0.001244, allocations: 105.4 kB / 15.7 MB, free: 24 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.001242/0.001242, allocations: 195.1 kB / 16.64 MB, free: 6.59 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.764/1.764, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001429/0.001429, allocations: 68.03 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2222, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5763/0.7986, allocations: 204.1 MB / 0.9835 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009356/0.808, allocations: 6.307 MB / 0.9896 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.8093, allocations: 30.72 kB / 0.9897 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.8111, allocations: 0.7239 MB / 0.9904 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.8171, allocations: 2.674 MB / 0.993 GB, free: 10.85 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.001689/0.8188, allocations: 0.7016 MB / 0.9937 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.8224, allocations: 3.254 MB / 0.9968 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.8239, allocations: 1.134 MB / 0.9979 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.826, allocations: 1.249 MB / 0.9992 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.8281, allocations: 1.086 MB / 1 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.8283, allocations: 128.4 kB / 1 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.8329, allocations: 2.358 MB / 1.003 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.8334, allocations: 0.5143 MB / 1.003 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009094/0.8343, allocations: 0.7381 MB / 1.004 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.8383, allocations: 2.786 MB / 1.007 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8383, allocations: 6.562 kB / 1.007 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8383, allocations: 0 / 1.007 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.8384, allocations: 0 / 1.007 GB, free: 3.477 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.003932/0.8423, allocations: 1.761 MB / 1.008 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.8423, allocations: 9.656 kB / 1.008 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.8445, allocations: 343.7 kB / 1.009 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.846, allocations: 0.8708 MB / 1.01 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.846, allocations: 70.39 kB / 1.01 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.8462, allocations: 102.2 kB / 1.01 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.8481, allocations: 1.192 MB / 1.011 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.8481, allocations: 3.938 kB / 1.011 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.8482, allocations: 45.27 kB / 1.011 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.8483, allocations: 65.44 kB / 1.011 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.8501, allocations: 1.243 MB / 1.012 GB, free: 15.98 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.005885/0.856, allocations: 5.073 MB / 1.017 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.8573, allocations: 1.157 MB / 1.018 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/0.858, allocations: 0.4995 MB / 1.019 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.8581, allocations: 20.12 kB / 1.019 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006651/0.8587, allocations: 485.3 kB / 1.019 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.474e-06/0.8587, allocations: 0 / 1.019 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001846/0.8606, allocations: 1.154 MB / 1.02 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.8607, allocations: 62.84 kB / 1.02 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.8613, allocations: 0.5672 MB / 1.021 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.8613, allocations: 38.52 kB / 1.021 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.8616, allocations: 467.3 kB / 1.021 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.8618, allocations: 262.2 kB / 1.022 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.862, allocations: 140.1 kB / 1.022 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8622, allocations: 383.1 kB / 1.022 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.8626, allocations: 327.9 kB / 1.022 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.8632, allocations: 466.6 kB / 1.023 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.8642, allocations: 0.8191 MB / 1.024 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8642, allocations: 2.125 kB / 1.024 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001264/0.8655, allocations: 0.9271 MB / 1.025 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.8655, allocations: 14.5 kB / 1.025 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8655, allocations: 2.781 kB / 1.025 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8656, allocations: 4.719 kB / 1.025 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.8662, allocations: 151.5 kB / 1.025 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.8662, allocations: 16.98 kB / 1.025 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.867, allocations: 63.84 kB / 1.025 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.867, allocations: 21.69 kB / 1.025 GB, free: 6.68 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.0004333/0.8675, allocations: 332 kB / 1.025 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.8676, allocations: 78.66 kB / 1.025 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.8678, allocations: 108 kB / 1.025 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8678, allocations: 7.969 kB / 1.025 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.8679, allocations: 7.922 kB / 1.025 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/0.869, allocations: 1.083 MB / 1.026 GB, free: 5.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 postOpt removeSimpleEquations (simulation): time 0.002864/0.8719, allocations: 2.306 MB / 1.029 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8719, allocations: 2.312 kB / 1.029 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/0.8727, allocations: 178.6 kB / 1.029 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.8728, allocations: 5.031 kB / 1.029 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.8728, allocations: 21.05 kB / 1.029 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.8728, allocations: 2.594 kB / 1.029 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8728, allocations: 0 / 1.029 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.8747, allocations: 1.493 MB / 1.03 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.875, allocations: 246.6 kB / 1.031 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.8751, allocations: 17.69 kB / 1.031 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.8757, allocations: 21.77 kB / 1.031 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.8758, allocations: 48.66 kB / 1.031 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.8759, allocations: 25.92 kB / 1.031 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004238/0.8763, allocations: 407.7 kB / 1.031 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8763, allocations: 0 / 1.031 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008555/0.8772, allocations: 371 kB / 1.031 GB, free: 2.094 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.0002425/0.8774, allocations: 175.2 kB / 1.032 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.8786, allocations: 0.8025 MB / 1.032 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8786, allocations: 0 / 1.032 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.8792, allocations: 439.5 kB / 1.033 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.8817, allocations: 0.5897 MB / 1.033 GB, free: 112 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.8847, allocations: 2.141 MB / 1.036 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.8854, allocations: 1.136 MB / 1.037 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008196/0.8862, allocations: 275.1 kB / 1.037 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.8864, allocations: 75.42 kB / 1.037 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of SimCode: time 4.11e-07/0.8864, allocations: 0 / 1.037 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of Templates: time 0.02853/0.915, allocations: 19.12 MB / 1.056 GB, free: 9.602 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)