Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001035/0.001035, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001206/0.001206, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 251.9 MB / 0.51 GB, free: 4.883 MB / 414.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.0004953/0.0004954, allocations: 23.44 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6041, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1991/0.8032, allocations: 168.9 MB / 0.8929 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.8144, allocations: 6.502 MB / 0.8993 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.8157, allocations: 27.81 kB / 0.8993 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.8177, allocations: 0.6611 MB / 0.9 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006181/0.8239, allocations: 2.045 MB / 0.902 GB, free: 8.852 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.002796/0.8267, allocations: 0.8055 MB / 0.9027 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00366/0.8304, allocations: 1.895 MB / 0.9046 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.8316, allocations: 0.8386 MB / 0.9054 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.8343, allocations: 1.18 MB / 0.9066 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.8352, allocations: 0.6616 MB / 0.9072 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.8353, allocations: 60 kB / 0.9073 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.8377, allocations: 0.8542 MB / 0.9081 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.8381, allocations: 418.8 kB / 0.9085 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.8385, allocations: 297.1 kB / 0.9088 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.8403, allocations: 1.676 MB / 0.9104 GB, free: 168 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8403, allocations: 3.938 kB / 0.9104 GB, free: 164 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8403, allocations: 0 / 0.9104 GB, free: 164 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.8404, allocations: 0 / 0.9104 GB, free: 164 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.4751/1.315, allocations: 1.486 MB / 0.9119 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.316, allocations: 8.969 kB / 0.9119 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/1.318, allocations: 352.2 kB / 0.9122 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.32, allocations: 0.8061 MB / 0.913 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/1.32, allocations: 81.7 kB / 0.9131 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.32, allocations: 102.9 kB / 0.9132 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.322, allocations: 1.188 MB / 0.9143 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/1.323, allocations: 2.156 kB / 0.9143 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.323, allocations: 42.75 kB / 0.9144 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/1.323, allocations: 65.16 kB / 0.9145 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/1.325, allocations: 1.244 MB / 0.9157 GB, free: 181.6 MB / 0.7169 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.007421/1.333, allocations: 5.083 MB / 0.9206 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.334, allocations: 1.133 MB / 0.9217 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/1.334, allocations: 20.19 kB / 0.9218 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/1.335, allocations: 492.9 kB / 0.9222 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.796e-06/1.335, allocations: 0 / 0.9222 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.002641/1.338, allocations: 1.138 MB / 0.9233 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.338, allocations: 60.31 kB / 0.9234 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/1.339, allocations: 0.5816 MB / 0.924 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/1.339, allocations: 42.73 kB / 0.924 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/1.339, allocations: 461.3 kB / 0.9244 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/1.339, allocations: 268.1 kB / 0.9247 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/1.339, allocations: 13.78 kB / 0.9247 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.339, allocations: 381.1 kB / 0.9251 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/1.34, allocations: 325.6 kB / 0.9254 GB, free: 175 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/1.34, allocations: 459.8 kB / 0.9258 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/1.341, allocations: 397.2 kB / 0.9262 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.341, allocations: 1.031 kB / 0.9262 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001485/1.342, allocations: 0.9232 MB / 0.9271 GB, free: 174 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.342, allocations: 12.22 kB / 0.9271 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.342, allocations: 2.656 kB / 0.9271 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.342, allocations: 6.844 kB / 0.9271 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.343, allocations: 150.4 kB / 0.9273 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.343, allocations: 7.781 kB / 0.9273 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.344, allocations: 138.7 kB / 0.9274 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/1.344, allocations: 27.78 kB / 0.9274 GB, free: 173.9 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004577/1.345, allocations: 337.7 kB / 0.9278 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.345, allocations: 82.67 kB / 0.9278 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/1.345, allocations: 117.1 kB / 0.9279 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.345, allocations: 3.969 kB / 0.928 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.345, allocations: 3.844 kB / 0.928 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009997/1.346, allocations: 1.073 MB / 0.929 GB, free: 172.7 MB / 0.7169 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.002969/1.349, allocations: 2.274 MB / 0.9312 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.349, allocations: 0 / 0.9312 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/1.35, allocations: 174.2 kB / 0.9314 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/1.35, allocations: 3.938 kB / 0.9314 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/1.35, allocations: 25.55 kB / 0.9314 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.35, allocations: 3.906 kB / 0.9314 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.35, allocations: 6.75 kB / 0.9314 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.352, allocations: 1.481 MB / 0.9329 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/1.352, allocations: 260 kB / 0.9331 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.352, allocations: 16.12 kB / 0.9331 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/1.353, allocations: 111.2 kB / 0.9332 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/1.353, allocations: 40.59 kB / 0.9333 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/1.353, allocations: 31.39 kB / 0.9333 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003625/1.353, allocations: 411 kB / 0.9337 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/1.353, allocations: 0 / 0.9337 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009043/1.354, allocations: 378.9 kB / 0.9341 GB, free: 168.4 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002637/1.355, allocations: 181.6 kB / 0.9342 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009158/1.356, allocations: 0.792 MB / 0.935 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.356, allocations: 0 / 0.935 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004098/1.356, allocations: 421.1 kB / 0.9354 GB, free: 167 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.358, allocations: 0.5448 MB / 0.9359 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/1.361, allocations: 2.691 MB / 0.9386 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/1.362, allocations: 1.171 MB / 0.9397 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008767/1.363, allocations: 279 kB / 0.94 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/1.363, allocations: 75.42 kB / 0.9401 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/1.363, allocations: 0 / 0.9401 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02531/1.388, allocations: 17.84 MB / 0.9575 GB, free: 144.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: