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.2003/0.201, allocations: 82.21 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6916/0.8926, allocations: 186.9 MB / 0.7766 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.9042, allocations: 4.922 MB / 0.7814 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.9063, allocations: 24.84 kB / 0.7814 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.9084, allocations: 0.5177 MB / 0.7819 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.916, allocations: 1.998 MB / 0.7839 GB, free: 7.801 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.002835/0.9189, allocations: 0.6703 MB / 0.7845 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006088/0.925, allocations: 3.74 MB / 0.7882 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.9264, allocations: 0.6219 MB / 0.7888 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.929, allocations: 0.7657 MB / 0.7895 GB, free: 4.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.932, allocations: 0.8231 MB / 0.7904 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/0.9323, allocations: 38.78 kB / 0.7904 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.9386, allocations: 2.13 MB / 0.7925 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009645/0.9396, allocations: 347.9 kB / 0.7928 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.941, allocations: 0.517 MB / 0.7933 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006354/0.9474, allocations: 2.169 MB / 0.7954 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.9475, allocations: 0 / 0.7954 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.297e-06/0.9475, allocations: 0 / 0.7954 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.507e-05/0.9475, allocations: 4 kB / 0.7954 GB, free: 0.9805 MB / 0.545 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.004264/0.9518, allocations: 1.233 MB / 0.7966 GB, free: 36 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.9519, allocations: 12.06 kB / 0.7966 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.9545, allocations: 317.7 kB / 0.7969 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.9565, allocations: 0.7082 MB / 0.7976 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.9566, allocations: 48.81 kB / 0.7977 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.9568, allocations: 81.7 kB / 0.7978 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.9585, allocations: 0.8084 MB / 0.7986 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.9585, allocations: 0 / 0.7986 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.9586, allocations: 25.94 kB / 0.7986 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.998e-05/0.9587, allocations: 42.7 kB / 0.7986 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.96, allocations: 0.7946 MB / 0.7994 GB, free: 14.38 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.006217/0.9663, allocations: 3.696 MB / 0.803 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.9673, allocations: 0.6957 MB / 0.8037 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.9679, allocations: 358 kB / 0.804 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.9679, allocations: 12.7 kB / 0.804 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/0.9686, allocations: 372.4 kB / 0.8044 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 3.507e-06/0.9686, allocations: 0 / 0.8044 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.001661/0.9703, allocations: 0.822 MB / 0.8052 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.9704, allocations: 55.97 kB / 0.8052 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.971, allocations: 0.4911 MB / 0.8057 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.9711, allocations: 41.7 kB / 0.8058 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.9714, allocations: 359.9 kB / 0.8061 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.9716, allocations: 209 kB / 0.8063 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.9717, allocations: 49.69 kB / 0.8064 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.9719, allocations: 370.8 kB / 0.8067 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.9723, allocations: 237.1 kB / 0.8069 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.9727, allocations: 332.2 kB / 0.8073 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000874/0.9736, allocations: 0.5894 MB / 0.8078 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9736, allocations: 0 / 0.8078 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001069/0.9747, allocations: 0.6738 MB / 0.8085 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.9747, allocations: 8 kB / 0.8085 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9747, allocations: 3.938 kB / 0.8085 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.9748, allocations: 11.94 kB / 0.8085 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.9753, allocations: 116.2 kB / 0.8086 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.9753, allocations: 15.88 kB / 0.8086 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009614/0.9763, allocations: 87.47 kB / 0.8087 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.9763, allocations: 24 kB / 0.8087 GB, free: 5.82 MB / 0.5606 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.0005353/0.9769, allocations: 273.6 kB / 0.809 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.977, allocations: 67.25 kB / 0.8091 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.9772, allocations: 85.89 kB / 0.8091 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.9772, allocations: 8 kB / 0.8092 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.9773, allocations: 3.984 kB / 0.8092 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008992/0.9782, allocations: 0.6982 MB / 0.8098 GB, free: 4.629 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 postOpt removeSimpleEquations (simulation): time 0.003016/0.9812, allocations: 1.809 MB / 0.8116 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.9812, allocations: 0 / 0.8116 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/0.9819, allocations: 147.9 kB / 0.8117 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.982, allocations: 4 kB / 0.8118 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.982, allocations: 16 kB / 0.8118 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.982, allocations: 4 kB / 0.8118 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.982, allocations: 0 / 0.8118 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.9836, allocations: 1.074 MB / 0.8128 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.9842, allocations: 228.2 kB / 0.813 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.9843, allocations: 12 kB / 0.813 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.985, allocations: 71.78 kB / 0.8131 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.9851, allocations: 32.52 kB / 0.8131 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.9851, allocations: 19.98 kB / 0.8132 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004403/0.9856, allocations: 354.8 kB / 0.8135 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9856, allocations: 7.938 kB / 0.8135 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000907/0.9865, allocations: 279.4 kB / 0.8138 GB, free: 472 kB / 0.5606 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.0003015/0.9868, allocations: 155.1 kB / 0.8139 GB, free: 308 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009148/0.9877, allocations: 0.5619 MB / 0.8145 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9878, allocations: 0.5625 kB / 0.8145 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.9882, allocations: 303.1 kB / 0.8148 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.9905, allocations: 459 kB / 0.8152 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.9937, allocations: 2.175 MB / 0.8173 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.9944, allocations: 1.021 MB / 0.8183 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009327/0.9953, allocations: 201.6 kB / 0.8185 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.9955, allocations: 55.44 kB / 0.8186 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.593e-06/0.9956, allocations: 0 / 0.8186 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02707/1.023, allocations: 14.6 MB / 0.8328 GB, free: 13.09 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: