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.1829/0.1849, allocations: 80.83 MB / 0.6706 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6146/0.7996, allocations: 191.6 MB / 0.8577 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007645/0.8072, allocations: 4.929 MB / 0.8625 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.8084, allocations: 31.88 kB / 0.8626 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.81, allocations: 0.5749 MB / 0.8631 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.8156, allocations: 2.135 MB / 0.8652 GB, free: 11.18 MB / 0.67 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.002015/0.8176, allocations: 0.717 MB / 0.8659 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003846/0.8214, allocations: 2.616 MB / 0.8685 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.8225, allocations: 0.7625 MB / 0.8692 GB, free: 7.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.8242, allocations: 0.9381 MB / 0.8701 GB, free: 6.125 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.8261, allocations: 0.8099 MB / 0.8709 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.8263, allocations: 96 kB / 0.871 GB, free: 5.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.8301, allocations: 1.843 MB / 0.8728 GB, free: 3.379 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.8305, allocations: 402.9 kB / 0.8732 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007344/0.8313, allocations: 0.5601 MB / 0.8737 GB, free: 2.422 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.8353, allocations: 2.126 MB / 0.8758 GB, free: 300 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8353, allocations: 0 / 0.8758 GB, free: 300 kB / 0.67 GB Notification: Performance of FrontEnd: time 4.368e-06/0.8353, allocations: 0 / 0.8758 GB, free: 300 kB / 0.67 GB Notification: Performance of Transformations before backend: time 4.135e-05/0.8353, allocations: 0 / 0.8758 GB, free: 300 kB / 0.67 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.003116/0.8385, allocations: 1.43 MB / 0.8772 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.8385, allocations: 8.031 kB / 0.8772 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.8406, allocations: 318.5 kB / 0.8775 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.8419, allocations: 0.7378 MB / 0.8782 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.8419, allocations: 57.98 kB / 0.8783 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.842, allocations: 68 kB / 0.8784 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.8434, allocations: 0.8077 MB / 0.8791 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.8434, allocations: 0 / 0.8791 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.8435, allocations: 32 kB / 0.8792 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.8436, allocations: 45.97 kB / 0.8792 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8448, allocations: 0.7847 MB / 0.88 GB, free: 11.91 MB / 0.6856 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.005097/0.85, allocations: 3.708 MB / 0.8836 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009343/0.8509, allocations: 0.7041 MB / 0.8843 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.8514, allocations: 359 kB / 0.8846 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.8515, allocations: 12.56 kB / 0.8846 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.8521, allocations: 371 kB / 0.885 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=58): time 5.73e-06/0.8522, allocations: 0 / 0.885 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58): time 0.001608/0.8538, allocations: 0.8222 MB / 0.8858 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.8538, allocations: 59.97 kB / 0.8859 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.8545, allocations: 498.9 kB / 0.8863 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.8546, allocations: 37.7 kB / 0.8864 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.8549, allocations: 367.9 kB / 0.8867 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.8551, allocations: 208.8 kB / 0.8869 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.8553, allocations: 106.3 kB / 0.887 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.8554, allocations: 374.8 kB / 0.8874 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.8558, allocations: 229.2 kB / 0.8876 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.8562, allocations: 330.2 kB / 0.8879 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.857, allocations: 0.5855 MB / 0.8885 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.857, allocations: 3.984 kB / 0.8885 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000928/0.858, allocations: 0.6738 MB / 0.8891 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.858, allocations: 6.5 kB / 0.8892 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.858, allocations: 4 kB / 0.8892 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.858, allocations: 8.219 kB / 0.8892 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.8585, allocations: 127.8 kB / 0.8893 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.8586, allocations: 4 kB / 0.8893 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.8592, allocations: 49.8 kB / 0.8893 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.8592, allocations: 20 kB / 0.8894 GB, free: 1.777 MB / 0.6856 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.0003734/0.8596, allocations: 281.6 kB / 0.8896 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.8597, allocations: 67.25 kB / 0.8897 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.8599, allocations: 85.88 kB / 0.8898 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8599, allocations: 4 kB / 0.8898 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.8599, allocations: 4 kB / 0.8898 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009437/0.8609, allocations: 0.706 MB / 0.8905 GB, free: 0.5781 MB / 0.6856 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.002354/0.8632, allocations: 1.805 MB / 0.8922 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.8632, allocations: 0 / 0.8922 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/0.8639, allocations: 147.9 kB / 0.8924 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.8639, allocations: 4 kB / 0.8924 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.864, allocations: 20.02 kB / 0.8924 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.864, allocations: 0 / 0.8924 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.864, allocations: 0 / 0.8924 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.8654, allocations: 1.07 MB / 0.8934 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.8658, allocations: 220.2 kB / 0.8937 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.8659, allocations: 15.94 kB / 0.8937 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.8665, allocations: 19.98 kB / 0.8937 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.8665, allocations: 36.52 kB / 0.8937 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.8666, allocations: 19.98 kB / 0.8937 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004268/0.867, allocations: 354.8 kB / 0.8941 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.867, allocations: 0 / 0.8941 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007716/0.8678, allocations: 287.3 kB / 0.8944 GB, free: 12.47 MB / 0.7012 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.0002831/0.8681, allocations: 167 kB / 0.8945 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008582/0.869, allocations: 0.5697 MB / 0.8951 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.869, allocations: 0 / 0.8951 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.8694, allocations: 299.1 kB / 0.8954 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.8715, allocations: 487.3 kB / 0.8958 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.8741, allocations: 1.705 MB / 0.8975 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.8748, allocations: 1.025 MB / 0.8985 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006239/0.8754, allocations: 193.6 kB / 0.8987 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.8756, allocations: 59.42 kB / 0.8987 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of SimCode: time 1.082e-06/0.8756, allocations: 4 kB / 0.8987 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of Templates: time 0.02491/0.9005, allocations: 15.7 MB / 0.9141 GB, free: 8.383 MB / 0.7169 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)