Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.3 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 185 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.000902, allocations: 89.31 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004153, allocations: 15.44 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.8039/1.056, allocations: 193.5 MB / 1.168 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01695/1.073, allocations: 10.15 MB / 1.178 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/1.076, allocations: 51.06 kB / 1.178 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003714/1.08, allocations: 1.059 MB / 1.179 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/1.091, allocations: 2.887 MB / 1.182 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/1.097, allocations: 1.581 MB / 1.184 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005445/1.102, allocations: 2.529 MB / 1.186 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/1.104, allocations: 1.188 MB / 1.187 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/1.107, allocations: 1.246 MB / 1.189 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/1.109, allocations: 0.9348 MB / 1.19 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/1.109, allocations: 76 kB / 1.19 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/1.113, allocations: 1.359 MB / 1.191 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005417/1.113, allocations: 0.5249 MB / 1.191 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/1.114, allocations: 405.8 kB / 1.192 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/1.117, allocations: 2.376 MB / 1.194 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/1.117, allocations: 0 / 1.194 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.944e-06/1.117, allocations: 2.562 kB / 1.194 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.639e-05/1.117, allocations: 0 / 1.194 GB, free: 8.109 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.004893/1.122, allocations: 2.092 MB / 1.196 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.122, allocations: 7.875 kB / 1.196 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/1.125, allocations: 0.5305 MB / 1.197 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/1.128, allocations: 1.168 MB / 1.198 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.536e-05/1.128, allocations: 106.1 kB / 1.198 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/1.128, allocations: 130.7 kB / 1.198 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/1.131, allocations: 1.655 MB / 1.2 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/1.131, allocations: 2.531 kB / 1.2 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/1.131, allocations: 56.64 kB / 1.2 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/1.131, allocations: 71.73 kB / 1.2 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/1.134, allocations: 1.442 MB / 1.201 GB, free: 3.531 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.009486/1.143, allocations: 6.963 MB / 1.208 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.145, allocations: 1.196 MB / 1.209 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/1.146, allocations: 0.6931 MB / 1.21 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.147, allocations: 0.6024 MB / 1.21 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 3.686e-06/1.147, allocations: 4 kB / 1.21 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.003187/1.15, allocations: 1.569 MB / 1.212 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/1.15, allocations: 90.11 kB / 1.212 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.152, allocations: 1.183 MB / 1.213 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.152, allocations: 53.7 kB / 1.213 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/1.152, allocations: 0.6698 MB / 1.214 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/1.153, allocations: 382.4 kB / 1.214 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/1.153, allocations: 20 kB / 1.214 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.153, allocations: 341.9 kB / 1.215 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007468/1.154, allocations: 421.8 kB / 1.215 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/1.155, allocations: 0.5612 MB / 1.216 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/1.155, allocations: 0.491 MB / 1.216 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.155, allocations: 8 kB / 1.216 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002135/1.158, allocations: 1.207 MB / 1.217 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004042/1.158, allocations: 0.989 MB / 1.218 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.158, allocations: 0 / 1.218 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.158, allocations: 15.94 kB / 1.218 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/1.159, allocations: 215.7 kB / 1.218 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.159, allocations: 8 kB / 1.218 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.161, allocations: 169.9 kB / 1.219 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/1.161, allocations: 36 kB / 1.219 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/1.161, allocations: 4 kB / 1.219 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001701/1.162, allocations: 1.031 MB / 1.22 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.162, allocations: 4 kB / 1.22 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/1.162, allocations: 8 kB / 1.22 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/1.163, allocations: 216 kB / 1.22 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.163, allocations: 11.98 kB / 1.22 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.165, allocations: 158.9 kB / 1.22 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/1.165, allocations: 39.75 kB / 1.22 GB, free: 0.8984 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.0007939/1.165, allocations: 494 kB / 1.221 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/1.166, allocations: 146.2 kB / 1.221 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/1.168, allocations: 1.254 MB / 1.222 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.168, allocations: 16 kB / 1.222 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.168, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/1.17, allocations: 1.003 MB / 1.223 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/1.175, allocations: 3.163 MB / 1.226 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.175, allocations: 4 kB / 1.226 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.176, allocations: 240 kB / 1.226 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/1.176, allocations: 11.95 kB / 1.226 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/1.176, allocations: 24 kB / 1.226 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.176, allocations: 4 kB / 1.226 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.176, allocations: 4 kB / 1.226 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/1.179, allocations: 2.135 MB / 1.228 GB, free: 8.133 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/1.18, allocations: 359 kB / 1.229 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.18, allocations: 27.98 kB / 1.229 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.181, allocations: 113.6 kB / 1.229 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.181, allocations: 80.89 kB / 1.229 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.868e-05/1.181, allocations: 44.16 kB / 1.229 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001073/1.182, allocations: 0.8098 MB / 1.23 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.182, allocations: 3.938 kB / 1.23 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002255/1.185, allocations: 0.8376 MB / 1.231 GB, free: 5.844 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.001357/1.186, allocations: 0.5665 MB / 1.231 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00284/1.189, allocations: 1.612 MB / 1.233 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.189, allocations: 0 / 1.233 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/1.19, allocations: 0.5719 MB / 1.233 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/1.193, allocations: 0.808 MB / 1.234 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/1.199, allocations: 3.998 MB / 1.238 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.201, allocations: 1.392 MB / 1.239 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00188/1.202, allocations: 451.6 kB / 1.24 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/1.203, allocations: 119.4 kB / 1.24 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/1.203, allocations: 0 / 1.24 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.04783/1.251, allocations: 27.75 MB / 1.267 GB, free: 0.9141 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)