Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.513/2.513, allocations: 287.9 MB / 302.9 MB, free: 8.262 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.001453/0.001452, allocations: 173.1 kB / 371.4 MB, free: 10.68 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.056/2.056, allocations: 205.4 MB / 0.6301 GB, free: 10.34 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.001032/0.001032, allocations: 95.92 kB / 0.7434 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004632, allocations: 10.84 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.791/0.9493, allocations: 193.5 MB / 1.168 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.9704, allocations: 10.16 MB / 1.178 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.9731, allocations: 46.44 kB / 1.178 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.9772, allocations: 1.064 MB / 1.179 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.9882, allocations: 2.889 MB / 1.182 GB, free: 204 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.9947, allocations: 1.588 MB / 1.183 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005577/1, allocations: 2.522 MB / 1.186 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/1.003, allocations: 1.197 MB / 1.187 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/1.006, allocations: 1.238 MB / 1.188 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/1.008, allocations: 0.9392 MB / 1.189 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/1.008, allocations: 78.78 kB / 1.189 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004937/1.013, allocations: 1.357 MB / 1.19 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.014, allocations: 0.525 MB / 1.191 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009027/1.015, allocations: 409.8 kB / 1.191 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/1.02, allocations: 2.37 MB / 1.193 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.598e-06/1.02, allocations: 0 / 1.193 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.696e-06/1.02, allocations: 0 / 1.193 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.82e-05/1.02, allocations: 0 / 1.193 GB, free: 8.789 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006107/1.026, allocations: 2.089 MB / 1.196 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.026, allocations: 7.375 kB / 1.196 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/1.031, allocations: 0.5388 MB / 1.196 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/1.034, allocations: 1.163 MB / 1.197 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.034, allocations: 103.3 kB / 1.197 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/1.035, allocations: 134.7 kB / 1.197 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/1.039, allocations: 1.654 MB / 1.199 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/1.039, allocations: 0 / 1.199 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/1.039, allocations: 63.3 kB / 1.199 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.933e-05/1.039, allocations: 69.41 kB / 1.199 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003996/1.043, allocations: 1.445 MB / 1.201 GB, free: 4.203 MB / 0.7292 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.0126/1.056, allocations: 6.947 MB / 1.207 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/1.059, allocations: 1.199 MB / 1.209 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008456/1.06, allocations: 0.6892 MB / 1.209 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/1.061, allocations: 0.6063 MB / 1.21 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 5.129e-06/1.061, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.004491/1.066, allocations: 1.573 MB / 1.211 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/1.066, allocations: 94.09 kB / 1.211 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/1.068, allocations: 1.175 MB / 1.213 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.068, allocations: 49.7 kB / 1.213 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/1.069, allocations: 0.6737 MB / 1.213 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/1.07, allocations: 382.4 kB / 1.214 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/1.07, allocations: 20 kB / 1.214 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.07, allocations: 345.9 kB / 1.214 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/1.071, allocations: 417.8 kB / 1.214 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.072, allocations: 0.5651 MB / 1.215 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.074, allocations: 498.8 kB / 1.215 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.409e-06/1.074, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003149/1.077, allocations: 1.214 MB / 1.217 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005504/1.077, allocations: 0.9852 MB / 1.218 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.077, allocations: 4 kB / 1.218 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/1.077, allocations: 8 kB / 1.218 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.079, allocations: 215.7 kB / 1.218 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/1.079, allocations: 8 kB / 1.218 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.081, allocations: 166.9 kB / 1.218 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/1.081, allocations: 39.98 kB / 1.218 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.082, allocations: 9.188 kB / 1.218 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004664/1.086, allocations: 1.035 MB / 1.219 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.086, allocations: 4 kB / 1.219 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.086, allocations: 4 kB / 1.219 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/1.089, allocations: 215.7 kB / 1.219 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/1.089, allocations: 8 kB / 1.219 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.091, allocations: 161.5 kB / 1.219 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.091, allocations: 35.98 kB / 1.219 GB, free: 1.773 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.001093/1.092, allocations: 497.6 kB / 1.22 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/1.093, allocations: 150.2 kB / 1.22 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/1.096, allocations: 1.247 MB / 1.221 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.096, allocations: 8 kB / 1.221 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.669e-06/1.096, allocations: 0 / 1.221 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/1.099, allocations: 1.007 MB / 1.222 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007772/1.106, allocations: 3.163 MB / 1.225 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.106, allocations: 11.98 kB / 1.225 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.108, allocations: 239.8 kB / 1.226 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/1.108, allocations: 4 kB / 1.226 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/1.108, allocations: 31.98 kB / 1.226 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/1.108, allocations: 8 kB / 1.226 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.756e-06/1.108, allocations: 4 kB / 1.226 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/1.115, allocations: 2.131 MB / 1.228 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.116, allocations: 359 kB / 1.228 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/1.116, allocations: 24.19 kB / 1.228 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.118, allocations: 119.7 kB / 1.228 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.118, allocations: 88.81 kB / 1.228 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.118, allocations: 39.92 kB / 1.228 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001597/1.12, allocations: 0.8098 MB / 1.229 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.42e-07/1.12, allocations: 0 / 1.229 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002798/1.123, allocations: 0.8337 MB / 1.23 GB, free: 6.719 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001986/1.125, allocations: 0.5834 MB / 1.23 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004064/1.129, allocations: 1.604 MB / 1.232 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.494e-06/1.129, allocations: 3.938 kB / 1.232 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.13, allocations: 0.5653 MB / 1.233 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/1.135, allocations: 0.8112 MB / 1.233 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008044/1.143, allocations: 4.002 MB / 1.237 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.145, allocations: 1.395 MB / 1.239 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002814/1.147, allocations: 451.6 kB / 1.239 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/1.148, allocations: 111.4 kB / 1.239 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of SimCode: time 1.599e-06/1.148, allocations: 0 / 1.239 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.06704/1.215, allocations: 27.74 MB / 1.266 GB, free: 1.793 MB / 0.7917 GB