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.1171/0.1189, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4405/0.5594, allocations: 191.6 MB / 0.8577 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006538/0.566, allocations: 4.933 MB / 0.8625 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.5667, allocations: 30.5 kB / 0.8626 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.5679, allocations: 0.5804 MB / 0.8631 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.5716, allocations: 2.122 MB / 0.8652 GB, free: 1.305 MB / 0.6231 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.0013/0.5729, allocations: 0.7203 MB / 0.8659 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.5752, allocations: 2.616 MB / 0.8685 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.576, allocations: 0.7587 MB / 0.8692 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.5771, allocations: 0.9302 MB / 0.8701 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.5783, allocations: 0.817 MB / 0.8709 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.5784, allocations: 95.94 kB / 0.871 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5811, allocations: 1.836 MB / 0.8728 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.5814, allocations: 406.9 kB / 0.8732 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.582, allocations: 0.564 MB / 0.8737 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.5842, allocations: 2.129 MB / 0.8758 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5842, allocations: 4 kB / 0.8758 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5842, allocations: 0 / 0.8758 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5843, allocations: 0 / 0.8758 GB, free: 7.898 MB / 0.6387 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.002498/0.5868, allocations: 1.455 MB / 0.8772 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.5868, allocations: 16.02 kB / 0.8773 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.5887, allocations: 319.1 kB / 0.8776 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009923/0.5897, allocations: 0.7422 MB / 0.8783 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.5898, allocations: 54 kB / 0.8783 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.5899, allocations: 76.86 kB / 0.8784 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.591, allocations: 0.8038 MB / 0.8792 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5911, allocations: 0 / 0.8792 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.5911, allocations: 31.98 kB / 0.8792 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.5912, allocations: 41.98 kB / 0.8793 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.5923, allocations: 0.804 MB / 0.88 GB, free: 3.457 MB / 0.6387 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.003869/0.5962, allocations: 3.705 MB / 0.8837 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.597, allocations: 0.7019 MB / 0.8843 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.5974, allocations: 355 kB / 0.8847 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.5975, allocations: 8.562 kB / 0.8847 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.598, allocations: 374.6 kB / 0.8851 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 1.703e-06/0.598, allocations: 0 / 0.8851 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.00123/0.5992, allocations: 0.8264 MB / 0.8859 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.5993, allocations: 55.97 kB / 0.8859 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.5998, allocations: 0.4911 MB / 0.8864 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.5998, allocations: 33.7 kB / 0.8864 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.6, allocations: 368.7 kB / 0.8868 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.6002, allocations: 222.1 kB / 0.887 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.6004, allocations: 110.3 kB / 0.8871 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6005, allocations: 366.8 kB / 0.8874 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.6008, allocations: 229.2 kB / 0.8877 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.6012, allocations: 333.3 kB / 0.888 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.6019, allocations: 0.5894 MB / 0.8886 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.602, allocations: 0 / 0.8886 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008972/0.6029, allocations: 0.6742 MB / 0.8892 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6029, allocations: 7.984 kB / 0.8892 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6029, allocations: 4 kB / 0.8892 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6029, allocations: 7.938 kB / 0.8892 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.6034, allocations: 128 kB / 0.8894 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.6034, allocations: 4 kB / 0.8894 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.6039, allocations: 47.62 kB / 0.8894 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.604, allocations: 23.98 kB / 0.8894 GB, free: 9.316 MB / 0.6544 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.0002776/0.6043, allocations: 269.6 kB / 0.8897 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.6043, allocations: 67.62 kB / 0.8897 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.6045, allocations: 89.88 kB / 0.8898 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6045, allocations: 8 kB / 0.8898 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6045, allocations: 0 / 0.8898 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007306/0.6053, allocations: 0.7098 MB / 0.8905 GB, free: 8.121 MB / 0.6544 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.002004/0.6073, allocations: 1.801 MB / 0.8923 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6073, allocations: 4 kB / 0.8923 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.6079, allocations: 143.8 kB / 0.8924 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.608, allocations: 4 kB / 0.8924 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.608, allocations: 12 kB / 0.8924 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.608, allocations: 8.031 kB / 0.8925 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.608, allocations: 0 / 0.8925 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.6092, allocations: 1.067 MB / 0.8935 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.6095, allocations: 228.5 kB / 0.8937 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.6096, allocations: 15.98 kB / 0.8937 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.6101, allocations: 21.11 kB / 0.8938 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.6102, allocations: 40.45 kB / 0.8938 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.6102, allocations: 23.98 kB / 0.8938 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003553/0.6106, allocations: 346.9 kB / 0.8941 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6106, allocations: 4 kB / 0.8941 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006082/0.6112, allocations: 283.5 kB / 0.8944 GB, free: 4.012 MB / 0.6544 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.000234/0.6114, allocations: 169.5 kB / 0.8946 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000767/0.6122, allocations: 0.5619 MB / 0.8951 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6122, allocations: 7.938 kB / 0.8951 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.6126, allocations: 295.1 kB / 0.8954 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.6144, allocations: 494.8 kB / 0.8959 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.6167, allocations: 1.745 MB / 0.8976 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.6173, allocations: 1.029 MB / 0.8986 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005458/0.6179, allocations: 189.6 kB / 0.8988 GB, free: 15.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6181, allocations: 59.44 kB / 0.8988 GB, free: 15.43 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.6181, allocations: 4 kB / 0.8988 GB, free: 15.42 MB / 0.67 GB Notification: Performance of Templates: time 0.02071/0.6388, allocations: 15.47 MB / 0.9139 GB, free: 108 kB / 0.67 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)