Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.65/2.65, allocations: 287.9 MB / 302.9 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 175.4 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 89.69 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004654, allocations: 18.22 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7491/0.9039, allocations: 168.7 MB / 1.144 GB, free: 14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.9168, allocations: 6.445 MB / 1.15 GB, free: 9.844 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.9185, allocations: 35.62 kB / 1.15 GB, free: 9.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.9211, allocations: 0.651 MB / 1.15 GB, free: 9.273 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007961/0.9291, allocations: 2.033 MB / 1.152 GB, free: 7.625 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.003379/0.9325, allocations: 0.7784 MB / 1.153 GB, free: 7.074 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004055/0.9366, allocations: 1.834 MB / 1.155 GB, free: 5.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.9383, allocations: 0.8177 MB / 1.156 GB, free: 5.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.9418, allocations: 1.136 MB / 1.157 GB, free: 4.746 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.9435, allocations: 0.6533 MB / 1.158 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.9438, allocations: 55.41 kB / 1.158 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.9474, allocations: 0.8688 MB / 1.158 GB, free: 4.027 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007816/0.9482, allocations: 398 kB / 1.159 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.9489, allocations: 289.1 kB / 1.159 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.9523, allocations: 1.633 MB / 1.161 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.763e-06/0.9523, allocations: 1.469 kB / 1.161 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.616e-06/0.9523, allocations: 0 / 1.161 GB, free: 2.586 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.182e-05/0.9524, allocations: 0 / 1.161 GB, free: 2.586 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005118/0.9575, allocations: 1.477 MB / 1.162 GB, free: 1.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9576, allocations: 14.02 kB / 1.162 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.9608, allocations: 349.9 kB / 1.163 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.9632, allocations: 0.8071 MB / 1.163 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.9634, allocations: 76.36 kB / 1.163 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.9636, allocations: 103 kB / 1.163 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.9668, allocations: 1.17 MB / 1.165 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.9668, allocations: 4.938 kB / 1.165 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.967, allocations: 46.8 kB / 1.165 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.9671, allocations: 66.11 kB / 1.165 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.9703, allocations: 1.241 MB / 1.166 GB, free: 15.28 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.009718/0.9801, allocations: 5.041 MB / 1.171 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.9821, allocations: 1.151 MB / 1.172 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.9822, allocations: 14.83 kB / 1.172 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.9833, allocations: 491.7 kB / 1.172 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.949e-06/0.9833, allocations: 0 / 1.172 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002761/0.9861, allocations: 1.145 MB / 1.174 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.9862, allocations: 64.3 kB / 1.174 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.9872, allocations: 0.5647 MB / 1.174 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.9873, allocations: 38.73 kB / 1.174 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.9878, allocations: 460.5 kB / 1.175 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.9882, allocations: 273.5 kB / 1.175 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.9882, allocations: 10.78 kB / 1.175 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.9885, allocations: 386.5 kB / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.9892, allocations: 335.9 kB / 1.176 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.99, allocations: 455.4 kB / 1.176 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.9909, allocations: 397 kB / 1.176 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.353e-06/0.9909, allocations: 3.094 kB / 1.176 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002023/0.9929, allocations: 0.9213 MB / 1.177 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.993, allocations: 9.562 kB / 1.177 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.993, allocations: 6.844 kB / 1.177 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.9931, allocations: 5.312 kB / 1.177 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.9939, allocations: 149.4 kB / 1.178 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.994, allocations: 11.31 kB / 1.178 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.9954, allocations: 136 kB / 1.178 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.9955, allocations: 29.69 kB / 1.178 GB, free: 6.488 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.0007487/0.9962, allocations: 329.4 kB / 1.178 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.9965, allocations: 75.97 kB / 1.178 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.9968, allocations: 105.3 kB / 1.178 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.811e-06/0.9968, allocations: 11.44 kB / 1.178 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.9968, allocations: 3.938 kB / 1.178 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001817/0.9986, allocations: 1.092 MB / 1.179 GB, free: 5.309 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.004984/1.004, allocations: 2.266 MB / 1.181 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.004, allocations: 0 / 1.181 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.005, allocations: 183.5 kB / 1.182 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/1.005, allocations: 7.016 kB / 1.182 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/1.005, allocations: 24.2 kB / 1.182 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.005, allocations: 2.906 kB / 1.182 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-06/1.005, allocations: 2.781 kB / 1.182 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.008, allocations: 1.49 MB / 1.183 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/1.009, allocations: 252.7 kB / 1.183 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/1.009, allocations: 17.67 kB / 1.183 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.01, allocations: 101.1 kB / 1.183 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.01, allocations: 41.41 kB / 1.184 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.765e-05/1.01, allocations: 29.7 kB / 1.184 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007072/1.011, allocations: 399.1 kB / 1.184 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.047e-06/1.011, allocations: 0 / 1.184 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001333/1.012, allocations: 367.9 kB / 1.184 GB, free: 2.203 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.0003627/1.013, allocations: 178.8 kB / 1.184 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.014, allocations: 0.7965 MB / 1.185 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.083e-06/1.014, allocations: 0 / 1.185 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/1.015, allocations: 426.7 kB / 1.186 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/1.019, allocations: 0.552 MB / 1.186 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/1.024, allocations: 2.657 MB / 1.189 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.025, allocations: 1.156 MB / 1.19 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001602/1.026, allocations: 279 kB / 1.19 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.027, allocations: 78.8 kB / 1.19 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of SimCode: time 1.964e-06/1.027, allocations: 0 / 1.19 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.04365/1.07, allocations: 17.6 MB / 1.207 GB, free: 14.2 MB / 0.7448 GB