Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [/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.1859/0.1866, allocations: 82.22 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5937/0.7803, allocations: 193.4 MB / 0.7822 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.7965, allocations: 9.5 MB / 0.7915 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.8001, allocations: 47.62 kB / 0.7915 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005406/0.8056, allocations: 1.055 MB / 0.7926 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.8196, allocations: 2.662 MB / 0.7952 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00712/0.8267, allocations: 1.498 MB / 0.7966 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009184/0.8359, allocations: 2.764 MB / 0.7993 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.8396, allocations: 1.277 MB / 0.8006 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005185/0.8449, allocations: 1.391 MB / 0.8019 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.8483, allocations: 0.9991 MB / 0.8029 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.8494, allocations: 83.34 kB / 0.803 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006301/0.8557, allocations: 1.173 MB / 0.8041 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.8572, allocations: 0.5996 MB / 0.8047 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.859, allocations: 438.5 kB / 0.8051 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.8635, allocations: 2.524 MB / 0.8076 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.8635, allocations: 0 / 0.8076 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8635, allocations: 0 / 0.8076 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001405/0.8637, allocations: 0 / 0.8076 GB, free: 4.082 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.006644/0.8703, allocations: 2.172 MB / 0.8097 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8704, allocations: 8.031 kB / 0.8097 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.874, allocations: 0.5126 MB / 0.8102 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/0.8776, allocations: 1.218 MB / 0.8114 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.8777, allocations: 107.6 kB / 0.8115 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.8782, allocations: 148 kB / 0.8117 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004284/0.8825, allocations: 1.791 MB / 0.8134 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.8826, allocations: 7.938 kB / 0.8134 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.8828, allocations: 60 kB / 0.8135 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-05/0.8829, allocations: 74.83 kB / 0.8136 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.8858, allocations: 1.565 MB / 0.8151 GB, free: 12.54 MB / 0.5762 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.01313/0.899, allocations: 7.346 MB / 0.8223 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.9009, allocations: 1.079 MB / 0.8233 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/0.9017, allocations: 0.6892 MB / 0.824 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.903, allocations: 0.7511 MB / 0.8247 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 3.506e-06/0.903, allocations: 0 / 0.8247 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.003349/0.9064, allocations: 1.561 MB / 0.8262 GB, free: 384 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/0.9066, allocations: 380.8 kB / 0.8266 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.9087, allocations: 1.328 MB / 0.8279 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.9089, allocations: 49.7 kB / 0.828 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.9095, allocations: 0.7476 MB / 0.8287 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.91, allocations: 382.4 kB / 0.829 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.91, allocations: 24 kB / 0.8291 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.9102, allocations: 349.9 kB / 0.8294 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.9111, allocations: 442.4 kB / 0.8298 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.9121, allocations: 0.6617 MB / 0.8305 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.9131, allocations: 0.5222 MB / 0.831 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.9131, allocations: 0 / 0.831 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002431/0.9155, allocations: 1.304 MB / 0.8323 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005278/0.9161, allocations: 1.171 MB / 0.8334 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.9161, allocations: 0 / 0.8334 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/0.9161, allocations: 8 kB / 0.8334 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.9172, allocations: 239.6 kB / 0.8336 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.9172, allocations: 8 kB / 0.8336 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.9189, allocations: 202.6 kB / 0.8338 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.9191, allocations: 36 kB / 0.8339 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9191, allocations: 4.781 kB / 0.8339 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/0.921, allocations: 1.113 MB / 0.835 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.921, allocations: 8.703 kB / 0.835 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.921, allocations: 8 kB / 0.835 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.922, allocations: 223.7 kB / 0.8352 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.922, allocations: 15.92 kB / 0.8352 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.9236, allocations: 178.8 kB / 0.8354 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/0.9237, allocations: 36 kB / 0.8354 GB, free: 6.723 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (136): * Single equations (assignments): 136 * 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.0008807/0.9246, allocations: 0.5047 MB / 0.8359 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/0.925, allocations: 170.7 kB / 0.8361 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.9272, allocations: 1.241 MB / 0.8373 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.9272, allocations: 8 kB / 0.8373 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.9273, allocations: 4 kB / 0.8373 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/0.9288, allocations: 0.96 MB / 0.8382 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/0.9346, allocations: 3.15 MB / 0.8413 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.9346, allocations: 0.9375 kB / 0.8413 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.9361, allocations: 227.9 kB / 0.8415 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/0.9361, allocations: 8 kB / 0.8415 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.9362, allocations: 27.98 kB / 0.8416 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.9362, allocations: 7.938 kB / 0.8416 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.9362, allocations: 0 / 0.8416 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.9395, allocations: 1.957 MB / 0.8435 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.9405, allocations: 400.4 kB / 0.8439 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.9409, allocations: 31.94 kB / 0.8439 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.9424, allocations: 123.7 kB / 0.844 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.9426, allocations: 69.08 kB / 0.8441 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.9427, allocations: 35.98 kB / 0.8441 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001488/0.9442, allocations: 0.9261 MB / 0.845 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9442, allocations: 4 kB / 0.845 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003057/0.9473, allocations: 0.9079 MB / 0.8459 GB, free: 11.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (108): * Single equations (assignments): 106 * 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.001438/0.9487, allocations: 0.5699 MB / 0.8465 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003212/0.952, allocations: 1.675 MB / 0.8481 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.952, allocations: 4.062 kB / 0.8481 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.9529, allocations: 0.5443 MB / 0.8486 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/0.9569, allocations: 0.8692 MB / 0.8495 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/0.9629, allocations: 4.082 MB / 0.8535 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.9642, allocations: 1.427 MB / 0.8549 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002035/0.9663, allocations: 472.3 kB / 0.8553 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.9667, allocations: 119.4 kB / 0.8554 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.9667, allocations: 0 / 0.8554 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of Templates: time 0.05049/1.017, allocations: 30.87 MB / 0.8856 GB, free: 3.609 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: