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.001196/0.001202, allocations: 108 kB / 15.61 MB, free: 152 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.001634/0.001634, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.703/1.703, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001445/0.001445, allocations: 70.28 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.261, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6954/0.9564, allocations: 204.1 MB / 0.9827 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.9667, allocations: 6.308 MB / 0.9889 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.9689, allocations: 35.25 kB / 0.9889 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.9711, allocations: 0.724 MB / 0.9896 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/0.979, allocations: 2.672 MB / 0.9922 GB, free: 10.72 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.002198/0.9812, allocations: 0.6932 MB / 0.9929 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004744/0.986, allocations: 3.245 MB / 0.9961 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.9879, allocations: 1.136 MB / 0.9972 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.9911, allocations: 1.248 MB / 0.9984 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.9941, allocations: 1.091 MB / 0.9995 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.9944, allocations: 128.1 kB / 0.9996 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/1.001, allocations: 2.354 MB / 1.002 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007799/1.002, allocations: 0.5152 MB / 1.002 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/1.003, allocations: 0.7401 MB / 1.003 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005834/1.009, allocations: 2.767 MB / 1.006 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.009, allocations: 0 / 1.006 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/1.009, allocations: 0 / 1.006 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.556e-05/1.009, allocations: 4 kB / 1.006 GB, free: 3.398 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.004337/1.013, allocations: 1.761 MB / 1.008 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.013, allocations: 10.09 kB / 1.008 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/1.016, allocations: 347.7 kB / 1.008 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.017, allocations: 0.8273 MB / 1.009 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/1.017, allocations: 82.55 kB / 1.009 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.017, allocations: 105.6 kB / 1.009 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.019, allocations: 1.184 MB / 1.01 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/1.019, allocations: 0 / 1.01 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.019, allocations: 48.14 kB / 1.01 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/1.019, allocations: 61.81 kB / 1.01 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/1.021, allocations: 1.244 MB / 1.011 GB, free: 15.93 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.006372/1.028, allocations: 5.122 MB / 1.016 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/1.029, allocations: 1.153 MB / 1.017 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/1.03, allocations: 0.4996 MB / 1.018 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/1.03, allocations: 20.08 kB / 1.018 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007083/1.03, allocations: 483.9 kB / 1.018 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/1.03, allocations: 4 kB / 1.018 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001903/1.032, allocations: 1.153 MB / 1.02 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/1.032, allocations: 63.5 kB / 1.02 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/1.033, allocations: 0.5668 MB / 1.02 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/1.033, allocations: 40.14 kB / 1.02 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/1.033, allocations: 457.2 kB / 1.021 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/1.034, allocations: 266.5 kB / 1.021 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/1.034, allocations: 136.3 kB / 1.021 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.034, allocations: 386.3 kB / 1.021 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/1.034, allocations: 324.8 kB / 1.022 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/1.035, allocations: 461.9 kB / 1.022 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.036, allocations: 0.8254 MB / 1.023 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.036, allocations: 0 / 1.023 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00127/1.037, allocations: 0.9293 MB / 1.024 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.037, allocations: 8.656 kB / 1.024 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.037, allocations: 5.375 kB / 1.024 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.037, allocations: 4.875 kB / 1.024 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/1.038, allocations: 152.7 kB / 1.024 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/1.038, allocations: 12.64 kB / 1.024 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/1.039, allocations: 58.91 kB / 1.024 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/1.039, allocations: 32.03 kB / 1.024 GB, free: 6.594 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.0004627/1.039, allocations: 330 kB / 1.024 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/1.039, allocations: 79.06 kB / 1.025 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/1.04, allocations: 106.3 kB / 1.025 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.04, allocations: 6.625 kB / 1.025 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/1.04, allocations: 7.922 kB / 1.025 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/1.041, allocations: 1.086 MB / 1.026 GB, free: 5.414 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.002987/1.044, allocations: 2.303 MB / 1.028 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.044, allocations: 5.312 kB / 1.028 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/1.045, allocations: 173.9 kB / 1.028 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.045, allocations: 4.625 kB / 1.028 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/1.045, allocations: 21.45 kB / 1.028 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.045, allocations: 6.312 kB / 1.028 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.045, allocations: 6.406 kB / 1.028 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.047, allocations: 1.489 MB / 1.03 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/1.047, allocations: 251.8 kB / 1.03 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.047, allocations: 12.62 kB / 1.03 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/1.048, allocations: 22.12 kB / 1.03 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/1.048, allocations: 47.53 kB / 1.03 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/1.048, allocations: 26.83 kB / 1.03 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004686/1.048, allocations: 403.2 kB / 1.03 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.048, allocations: 0 / 1.03 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008635/1.049, allocations: 371 kB / 1.031 GB, free: 1.961 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.000253/1.05, allocations: 184.5 kB / 1.031 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001645/1.051, allocations: 1.032 MB / 1.032 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.051, allocations: 0.6875 kB / 1.032 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005211/1.052, allocations: 431.5 kB / 1.032 GB, free: 332 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.054, allocations: 0.5974 MB / 1.033 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/1.057, allocations: 2.164 MB / 1.035 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/1.058, allocations: 1.136 MB / 1.036 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009637/1.059, allocations: 275.1 kB / 1.036 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.059, allocations: 71.44 kB / 1.036 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of SimCode: time 8.72e-07/1.059, allocations: 0 / 1.036 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of Templates: time 0.02942/1.089, allocations: 19.15 MB / 1.055 GB, free: 9.18 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)