Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.124/2.124, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001352, allocations: 170.9 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.000944, allocations: 98.33 kB / 0.6813 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007433/0.0007435, allocations: 16.03 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.225, allocations: 106.2 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.048/1.273, allocations: 186.1 MB / 1.081 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01779/1.291, allocations: 5.961 MB / 1.087 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/1.293, allocations: 32.44 kB / 1.087 GB, free: 4.125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00245/1.296, allocations: 490.2 kB / 1.087 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008018/1.304, allocations: 1.951 MB / 1.089 GB, free: 4.031 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.002765/1.307, allocations: 0.5137 MB / 1.089 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006998/1.314, allocations: 4.143 MB / 1.094 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/1.316, allocations: 0.8704 MB / 1.094 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/1.319, allocations: 1.096 MB / 1.095 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/1.323, allocations: 1.067 MB / 1.096 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/1.323, allocations: 56.25 kB / 1.097 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/1.328, allocations: 1.13 MB / 1.098 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/1.329, allocations: 464.5 kB / 1.098 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/1.331, allocations: 293 kB / 1.098 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/1.335, allocations: 1.868 MB / 1.1 GB, free: 19.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.335, allocations: 0 / 1.1 GB, free: 19.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.496e-06/1.335, allocations: 0 / 1.1 GB, free: 19.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.863e-05/1.335, allocations: 5.297 kB / 1.1 GB, free: 19.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00607/1.341, allocations: 1.548 MB / 1.102 GB, free: 18.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.341, allocations: 11.3 kB / 1.102 GB, free: 18.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/1.345, allocations: 345.3 kB / 1.102 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.347, allocations: 0.8111 MB / 1.103 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.384e-05/1.347, allocations: 75.36 kB / 1.103 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/1.347, allocations: 103 kB / 1.103 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/1.351, allocations: 1.197 MB / 1.104 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/1.351, allocations: 2.906 kB / 1.104 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/1.351, allocations: 49.86 kB / 1.104 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/1.351, allocations: 68.81 kB / 1.104 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/1.354, allocations: 1.247 MB / 1.106 GB, free: 18.39 MB / 0.7136 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.01018/1.364, allocations: 5.086 MB / 1.11 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/1.367, allocations: 1.135 MB / 1.112 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.368, allocations: 0.4977 MB / 1.112 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.584e-05/1.368, allocations: 18.36 kB / 1.112 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/1.369, allocations: 490 kB / 1.113 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.057e-06/1.369, allocations: 0 / 1.113 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.003047/1.372, allocations: 1.134 MB / 1.114 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.372, allocations: 64.44 kB / 1.114 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/1.373, allocations: 0.5701 MB / 1.114 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/1.373, allocations: 41.11 kB / 1.114 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/1.374, allocations: 468.4 kB / 1.115 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/1.374, allocations: 268.4 kB / 1.115 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/1.374, allocations: 14.81 kB / 1.115 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.374, allocations: 388.5 kB / 1.115 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/1.375, allocations: 320.6 kB / 1.116 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/1.376, allocations: 455.6 kB / 1.116 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/1.377, allocations: 392.8 kB / 1.117 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.377, allocations: 0 / 1.117 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0022/1.379, allocations: 0.9152 MB / 1.117 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.379, allocations: 9.938 kB / 1.117 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.379, allocations: 3.531 kB / 1.117 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/1.379, allocations: 7.906 kB / 1.117 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.381, allocations: 154.2 kB / 1.118 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.381, allocations: 9.188 kB / 1.118 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.382, allocations: 140.5 kB / 1.118 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/1.383, allocations: 29.78 kB / 1.118 GB, free: 14.07 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008119/1.383, allocations: 338 kB / 1.118 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/1.384, allocations: 79.78 kB / 1.118 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/1.384, allocations: 109.9 kB / 1.118 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.384, allocations: 8.719 kB / 1.118 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.384, allocations: 0 / 1.118 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/1.386, allocations: 1.081 MB / 1.119 GB, free: 13.44 MB / 0.7136 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.00542/1.391, allocations: 2.298 MB / 1.122 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.391, allocations: 7.266 kB / 1.122 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/1.394, allocations: 177 kB / 1.122 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/1.394, allocations: 7.5 kB / 1.122 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/1.394, allocations: 15.19 kB / 1.122 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/1.394, allocations: 12.36 kB / 1.122 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.394, allocations: 0 / 1.122 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/1.397, allocations: 1.461 MB / 1.123 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/1.398, allocations: 268.6 kB / 1.123 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.398, allocations: 13.16 kB / 1.123 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.4, allocations: 114.9 kB / 1.124 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.4, allocations: 47.17 kB / 1.124 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/1.4, allocations: 28.48 kB / 1.124 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009166/1.401, allocations: 406.7 kB / 1.124 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/1.401, allocations: 0 / 1.124 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001841/1.403, allocations: 373.1 kB / 1.124 GB, free: 12.41 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000462/1.404, allocations: 182.2 kB / 1.125 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.406, allocations: 0.7873 MB / 1.125 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.406, allocations: 0.6875 kB / 1.125 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009696/1.407, allocations: 428.8 kB / 1.126 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/1.412, allocations: 0.5626 MB / 1.126 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/1.417, allocations: 2.699 MB / 1.129 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/1.418, allocations: 1.145 MB / 1.13 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001873/1.42, allocations: 277.7 kB / 1.13 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/1.42, allocations: 73.91 kB / 1.13 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.313e-06/1.42, allocations: 3.344 kB / 1.13 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.04704/1.467, allocations: 17.88 MB / 1.148 GB, free: 1.266 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)