Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1163/0.1179, allocations: 80.84 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3814/0.4993, allocations: 189.4 MB / 0.7746 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006274/0.5056, allocations: 4.979 MB / 0.7795 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007742/0.5064, allocations: 25.66 kB / 0.7795 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.5077, allocations: 0.5181 MB / 0.78 GB, free: 4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.5113, allocations: 2 MB / 0.782 GB, free: 2.477 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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.001338/0.5127, allocations: 0.6579 MB / 0.7826 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003014/0.5157, allocations: 3.741 MB / 0.7863 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/0.5164, allocations: 0.6519 MB / 0.7869 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.5175, allocations: 0.792 MB / 0.7877 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.5188, allocations: 0.8506 MB / 0.7885 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.519, allocations: 47.56 kB / 0.7885 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.5222, allocations: 2.139 MB / 0.7906 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.5225, allocations: 359.2 kB / 0.791 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.5231, allocations: 0.5123 MB / 0.7915 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.5255, allocations: 2.201 MB / 0.7936 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5255, allocations: 0 / 0.7936 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5255, allocations: 4 kB / 0.7936 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.5255, allocations: 0 / 0.7936 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002564/0.5281, allocations: 1.426 MB / 0.795 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.5281, allocations: 9.406 kB / 0.795 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.5301, allocations: 315.2 kB / 0.7953 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/0.531, allocations: 0.7036 MB / 0.796 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.5311, allocations: 49.91 kB / 0.7961 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.5312, allocations: 80.67 kB / 0.7961 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.5323, allocations: 0.8136 MB / 0.7969 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5323, allocations: 3.906 kB / 0.7969 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.5324, allocations: 31.53 kB / 0.797 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.5325, allocations: 37.89 kB / 0.797 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5335, allocations: 0.7965 MB / 0.7978 GB, free: 8.844 MB / 0.5606 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.003756/0.5373, allocations: 3.682 MB / 0.8014 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.538, allocations: 0.6957 MB / 0.8021 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.5385, allocations: 363.4 kB / 0.8024 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.5385, allocations: 12.55 kB / 0.8024 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.539, allocations: 368.3 kB / 0.8028 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 1.824e-06/0.539, allocations: 0 / 0.8028 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.001219/0.5403, allocations: 0.8184 MB / 0.8036 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.5403, allocations: 63.97 kB / 0.8036 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.5408, allocations: 498.9 kB / 0.8041 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.5408, allocations: 41.64 kB / 0.8041 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.541, allocations: 363.9 kB / 0.8045 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.5412, allocations: 212.9 kB / 0.8047 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.5413, allocations: 114.2 kB / 0.8048 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5414, allocations: 366.8 kB / 0.8052 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.5417, allocations: 229.1 kB / 0.8054 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.5421, allocations: 337.3 kB / 0.8057 GB, free: 284 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.5428, allocations: 0.5855 MB / 0.8063 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5428, allocations: 4 kB / 0.8063 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008436/0.5436, allocations: 0.674 MB / 0.8069 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5437, allocations: 5.406 kB / 0.8069 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5437, allocations: 7.938 kB / 0.8069 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5437, allocations: 7.938 kB / 0.8069 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.5442, allocations: 115.9 kB / 0.8071 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5442, allocations: 8.219 kB / 0.8071 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.5448, allocations: 104.2 kB / 0.8072 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.5449, allocations: 20 kB / 0.8072 GB, free: 14.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (71): * Single equations (assignments): 71 * 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.0002694/0.5452, allocations: 269.6 kB / 0.8074 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.5453, allocations: 63.25 kB / 0.8075 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.5454, allocations: 93.88 kB / 0.8076 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5454, allocations: 8 kB / 0.8076 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5454, allocations: 0 / 0.8076 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007218/0.5462, allocations: 0.7021 MB / 0.8083 GB, free: 13.52 MB / 0.5762 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.001984/0.5481, allocations: 1.805 MB / 0.81 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5482, allocations: 0 / 0.81 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.5488, allocations: 147.9 kB / 0.8102 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5488, allocations: 0 / 0.8102 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.5489, allocations: 15.94 kB / 0.8102 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5489, allocations: 4 kB / 0.8102 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5489, allocations: 3.984 kB / 0.8102 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.5501, allocations: 1.07 MB / 0.8113 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5503, allocations: 220.2 kB / 0.8115 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.5504, allocations: 16 kB / 0.8115 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.551, allocations: 75.77 kB / 0.8116 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.5511, allocations: 32.52 kB / 0.8116 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.5512, allocations: 19.98 kB / 0.8116 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003171/0.5515, allocations: 354.8 kB / 0.8119 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5515, allocations: 0 / 0.8119 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006333/0.5521, allocations: 287.3 kB / 0.8122 GB, free: 9.363 MB / 0.5762 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 (58): * Single equations (assignments): 58 * 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.0001865/0.5523, allocations: 155.7 kB / 0.8124 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007026/0.553, allocations: 0.558 MB / 0.8129 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.553, allocations: 4 kB / 0.8129 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.5534, allocations: 295.6 kB / 0.8132 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.5551, allocations: 472.1 kB / 0.8136 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5574, allocations: 2.058 MB / 0.8157 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.5579, allocations: 1.029 MB / 0.8167 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006283/0.5586, allocations: 198.5 kB / 0.8169 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.5587, allocations: 55.44 kB / 0.8169 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.5587, allocations: 0 / 0.8169 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.01849/0.5772, allocations: 14.68 MB / 0.8312 GB, free: 6.016 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)