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.1884/0.1892, allocations: 82.23 MB / 0.5941 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.746/0.9354, allocations: 230.3 MB / 0.819 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0285/0.9639, allocations: 9.412 MB / 0.8282 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.9679, allocations: 55.62 kB / 0.8282 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00576/0.9737, allocations: 1.112 MB / 0.8293 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01629/0.9901, allocations: 3.272 MB / 0.8325 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009777/0.9999, allocations: 2.032 MB / 0.8345 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01545/1.015, allocations: 6.851 MB / 0.8412 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004028/1.019, allocations: 1.379 MB / 0.8425 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/1.024, allocations: 1.482 MB / 0.844 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/1.029, allocations: 1.586 MB / 0.8455 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005751/1.03, allocations: 84 kB / 0.8456 GB, free: 484 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009516/1.04, allocations: 3.285 MB / 0.8488 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001603/1.041, allocations: 0.6581 MB / 0.8495 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002316/1.043, allocations: 1.039 MB / 0.8505 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009427/1.053, allocations: 4.003 MB / 0.8544 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.053, allocations: 0 / 0.8544 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.767e-06/1.053, allocations: 0 / 0.8544 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.818e-05/1.053, allocations: 0 / 0.8544 GB, free: 7.449 MB / 0.6075 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.008308/1.061, allocations: 2.203 MB / 0.8565 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.061, allocations: 12.03 kB / 0.8566 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/1.067, allocations: 0.5127 MB / 0.8571 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/1.071, allocations: 1.256 MB / 0.8583 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.071, allocations: 106.9 kB / 0.8584 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/1.071, allocations: 151.9 kB / 0.8585 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/1.077, allocations: 1.828 MB / 0.8603 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/1.077, allocations: 0 / 0.8603 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/1.077, allocations: 71.94 kB / 0.8604 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/1.077, allocations: 70.84 kB / 0.8604 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/1.082, allocations: 1.573 MB / 0.862 GB, free: 15.49 MB / 0.6231 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.01085/1.093, allocations: 7.353 MB / 0.8692 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.095, allocations: 1.084 MB / 0.8702 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/1.096, allocations: 0.5937 MB / 0.8708 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/1.096, allocations: 0.6892 MB / 0.8715 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/1.097, allocations: 0.7589 MB / 0.8722 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 3.536e-06/1.097, allocations: 4 kB / 0.8722 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=109): time 0.002936/1.1, allocations: 1.565 MB / 0.8737 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/1.101, allocations: 380.8 kB / 0.8741 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.102, allocations: 1.348 MB / 0.8754 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.102, allocations: 49.7 kB / 0.8755 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/1.103, allocations: 0.7437 MB / 0.8762 GB, free: 80 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/1.103, allocations: 376.2 kB / 0.8766 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.104, allocations: 93.66 kB / 0.8767 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.104, allocations: 349.9 kB / 0.877 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007756/1.105, allocations: 450.4 kB / 0.8774 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/1.105, allocations: 0.6694 MB / 0.8781 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/1.107, allocations: 1.069 MB / 0.8791 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.107, allocations: 0 / 0.8791 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00226/1.109, allocations: 1.312 MB / 0.8804 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.11, allocations: 181.6 kB / 0.8806 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.11, allocations: 3.938 kB / 0.8806 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.11, allocations: 8 kB / 0.8806 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.111, allocations: 239.6 kB / 0.8808 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.111, allocations: 8 kB / 0.8808 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.112, allocations: 202.6 kB / 0.881 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/1.112, allocations: 39.98 kB / 0.881 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/1.112, allocations: 4 kB / 0.881 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/1.114, allocations: 1.12 MB / 0.8821 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.114, allocations: 4 kB / 0.8821 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.114, allocations: 11.98 kB / 0.8822 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/1.115, allocations: 223.7 kB / 0.8824 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/1.115, allocations: 11.94 kB / 0.8824 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.117, allocations: 191 kB / 0.8826 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/1.117, allocations: 39.98 kB / 0.8826 GB, free: 9.336 MB / 0.6387 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007357/1.117, allocations: 0.5033 MB / 0.8831 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/1.118, allocations: 158.1 kB / 0.8832 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.12, allocations: 1.244 MB / 0.8845 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.12, allocations: 15.94 kB / 0.8845 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.12, allocations: 4 kB / 0.8845 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/1.121, allocations: 0.9639 MB / 0.8854 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/1.126, allocations: 3.162 MB / 0.8885 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.126, allocations: 4 kB / 0.8885 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.127, allocations: 231.8 kB / 0.8887 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/1.127, allocations: 4 kB / 0.8887 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/1.127, allocations: 27.94 kB / 0.8888 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.127, allocations: 8 kB / 0.8888 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.127, allocations: 0 / 0.8888 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/1.13, allocations: 1.912 MB / 0.8906 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007318/1.131, allocations: 402.7 kB / 0.891 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/1.131, allocations: 24 kB / 0.891 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.133, allocations: 119.7 kB / 0.8912 GB, free: 404 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.133, allocations: 64.91 kB / 0.8912 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/1.133, allocations: 35.98 kB / 0.8913 GB, free: 304 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001251/1.134, allocations: 0.938 MB / 0.8922 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/1.134, allocations: 0 / 0.8922 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001961/1.136, allocations: 0.9079 MB / 0.8931 GB, free: 14.45 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/1.137, allocations: 0.5714 MB / 0.8936 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002749/1.14, allocations: 1.683 MB / 0.8953 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.14, allocations: 4 kB / 0.8953 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008149/1.141, allocations: 0.5525 MB / 0.8958 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006042/1.147, allocations: 0.8903 MB / 0.8967 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/1.155, allocations: 4.254 MB / 0.9008 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.157, allocations: 1.4 MB / 0.9022 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003118/1.16, allocations: 472.5 kB / 0.9026 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/1.161, allocations: 119.4 kB / 0.9028 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/1.161, allocations: 0 / 0.9028 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.06139/1.222, allocations: 31.93 MB / 0.9339 GB, free: 5.051 MB / 0.6856 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: