Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 114.1 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 196 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7339/0.7339, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3041, allocations: 76.14 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5015/0.8057, allocations: 235.8 MB / 0.7879 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.8204, allocations: 10.42 MB / 0.798 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.8234, allocations: 61.78 kB / 0.7981 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.8265, allocations: 1.186 MB / 0.7993 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009003/0.8355, allocations: 3.665 MB / 0.8028 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.8406, allocations: 2.065 MB / 0.8049 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00587/0.8465, allocations: 4.466 MB / 0.8092 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.8491, allocations: 1.568 MB / 0.8108 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.8524, allocations: 1.595 MB / 0.8123 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.8554, allocations: 1.501 MB / 0.8138 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.8559, allocations: 182.6 kB / 0.8139 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006524/0.8624, allocations: 3.242 MB / 0.8171 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.8635, allocations: 0.698 MB / 0.8178 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.8651, allocations: 1.064 MB / 0.8188 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006425/0.8715, allocations: 3.82 MB / 0.8226 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8715, allocations: 0.8438 kB / 0.8226 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.719e-06/0.8716, allocations: 0 / 0.8226 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.687e-05/0.8716, allocations: 7.438 kB / 0.8226 GB, free: 15.98 MB / 0.5919 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.005784/0.8774, allocations: 2.482 MB / 0.825 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8775, allocations: 8.719 kB / 0.825 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.8811, allocations: 0.5224 MB / 0.8255 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.8838, allocations: 1.286 MB / 0.8268 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.8839, allocations: 99.41 kB / 0.8269 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.8842, allocations: 139.4 kB / 0.827 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.8869, allocations: 1.676 MB / 0.8286 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.887, allocations: 9.562 kB / 0.8286 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.8871, allocations: 59.23 kB / 0.8287 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.8872, allocations: 73.94 kB / 0.8288 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.8897, allocations: 1.444 MB / 0.8302 GB, free: 12.9 MB / 0.5919 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.009387/0.8991, allocations: 6.972 MB / 0.837 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.901, allocations: 1.197 MB / 0.8382 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.9019, allocations: 0.6139 MB / 0.8388 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/0.9027, allocations: 0.8539 MB / 0.8396 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.9038, allocations: 0.6074 MB / 0.8402 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/0.9039, allocations: 0 / 0.8402 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.00306/0.9069, allocations: 1.578 MB / 0.8417 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.907, allocations: 93.58 kB / 0.8418 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.9085, allocations: 1.192 MB / 0.843 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.9087, allocations: 45.7 kB / 0.843 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.9092, allocations: 0.6737 MB / 0.8437 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.9096, allocations: 389.3 kB / 0.8441 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.9099, allocations: 174.7 kB / 0.8442 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.91, allocations: 353.9 kB / 0.8446 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.9108, allocations: 436.6 kB / 0.845 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.9117, allocations: 0.551 MB / 0.8455 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.9133, allocations: 1.017 MB / 0.8465 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9133, allocations: 0 / 0.8465 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002175/0.9155, allocations: 1.218 MB / 0.8477 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.9155, allocations: 8 kB / 0.8477 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.9155, allocations: 4 kB / 0.8477 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9156, allocations: 4 kB / 0.8477 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.9166, allocations: 216.5 kB / 0.8479 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.9166, allocations: 11.98 kB / 0.8479 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.9178, allocations: 107.1 kB / 0.848 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.9179, allocations: 32 kB / 0.8481 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.9191, allocations: 0.7401 MB / 0.8488 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007933/0.9199, allocations: 0.5432 MB / 0.8493 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001527/0.9215, allocations: 0.9947 MB / 0.8503 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.9215, allocations: 0 / 0.8503 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002045/0.9235, allocations: 1.191 MB / 0.8514 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.9236, allocations: 12.31 kB / 0.8515 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9236, allocations: 0 / 0.8515 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.9236, allocations: 8 kB / 0.8515 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.9245, allocations: 215.6 kB / 0.8517 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.9246, allocations: 4 kB / 0.8517 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.9257, allocations: 79.2 kB / 0.8518 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.9258, allocations: 36 kB / 0.8518 GB, free: 10.45 MB / 0.6075 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 ($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 (126): * Single equations (assignments): 126 * 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.0002831/0.926, allocations: 242.9 kB / 0.852 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.9263, allocations: 158.2 kB / 0.8522 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.9286, allocations: 1.234 MB / 0.8534 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.9287, allocations: 12 kB / 0.8534 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9287, allocations: 4 kB / 0.8534 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001651/0.9303, allocations: 1.011 MB / 0.8544 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.9356, allocations: 3.171 MB / 0.8575 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.9356, allocations: 4 kB / 0.8575 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.9368, allocations: 224.5 kB / 0.8577 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.9368, allocations: 8 kB / 0.8577 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-05/0.9369, allocations: 31.98 kB / 0.8577 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.9369, allocations: 4 kB / 0.8577 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9369, allocations: 7.094 kB / 0.8577 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.94, allocations: 1.912 MB / 0.8596 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/0.9409, allocations: 363 kB / 0.86 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.9411, allocations: 27.98 kB / 0.86 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/0.9421, allocations: 35.97 kB / 0.86 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.9423, allocations: 79.94 kB / 0.8601 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.9423, allocations: 39.98 kB / 0.8601 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001165/0.9435, allocations: 0.8219 MB / 0.8609 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9435, allocations: 0 / 0.8609 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001969/0.9455, allocations: 0.8377 MB / 0.8618 GB, free: 104 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (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.00145/0.947, allocations: 0.5873 MB / 0.8623 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.9499, allocations: 1.618 MB / 0.8639 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.9499, allocations: 4 kB / 0.8639 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009214/0.9508, allocations: 0.5617 MB / 0.8645 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/0.9549, allocations: 0.8795 MB / 0.8653 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.9607, allocations: 3.303 MB / 0.8685 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.9618, allocations: 1.368 MB / 0.8699 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001939/0.9638, allocations: 451.6 kB / 0.8703 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.9643, allocations: 115.4 kB / 0.8704 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.9643, allocations: 0 / 0.8704 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.0488/1.013, allocations: 29.96 MB / 0.8997 GB, free: 9.949 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)