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.007301/0.007301, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.00126/0.00126, allocations: 195.7 kB / 16.79 MB, free: 6.242 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.501/1.501, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7293/0.7293, allocations: 122.9 MB / 413.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.55 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1925, allocations: 77.93 MB / 0.5665 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.595/0.7874, allocations: 233.6 MB / 0.7947 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.8061, allocations: 10.53 MB / 0.8049 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.8093, allocations: 51.69 kB / 0.805 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.8128, allocations: 1.022 MB / 0.806 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.823, allocations: 3.447 MB / 0.8094 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.8289, allocations: 1.884 MB / 0.8112 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008427/0.8373, allocations: 6.28 MB / 0.8173 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.8399, allocations: 1.332 MB / 0.8186 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.8433, allocations: 1.381 MB / 0.82 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.8469, allocations: 1.545 MB / 0.8215 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.8472, allocations: 96 kB / 0.8216 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4717/1.319, allocations: 3.732 MB / 0.8252 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002441/1.321, allocations: 0.6107 MB / 0.8258 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003362/1.325, allocations: 0.9675 MB / 0.8268 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01533/1.34, allocations: 3.949 MB / 0.8306 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/1.34, allocations: 3.844 kB / 0.8306 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.442e-06/1.34, allocations: 2.906 kB / 0.8306 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001023/1.34, allocations: 0.6875 kB / 0.8306 GB, free: 8.578 MB / 0.6387 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.01074/1.351, allocations: 2.482 MB / 0.833 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/1.351, allocations: 10.61 kB / 0.8331 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006475/1.358, allocations: 0.5217 MB / 0.8336 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/1.362, allocations: 1.233 MB / 0.8348 GB, free: 7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.362, allocations: 101.8 kB / 0.8349 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/1.363, allocations: 135.6 kB / 0.835 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/1.368, allocations: 1.669 MB / 0.8366 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.659e-05/1.368, allocations: 10.84 kB / 0.8366 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/1.368, allocations: 54.94 kB / 0.8367 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/1.368, allocations: 74.72 kB / 0.8368 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/1.373, allocations: 1.448 MB / 0.8382 GB, free: 6.766 MB / 0.6387 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.01602/1.389, allocations: 6.952 MB / 0.845 GB, free: 19.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/1.392, allocations: 1.193 MB / 0.8461 GB, free: 19.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/1.394, allocations: 0.6143 MB / 0.8467 GB, free: 19.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.395, allocations: 0.8627 MB / 0.8476 GB, free: 18.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/1.397, allocations: 0.6069 MB / 0.8482 GB, free: 18.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 4.237e-06/1.397, allocations: 0 / 0.8482 GB, free: 18.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.004998/1.402, allocations: 1.574 MB / 0.8497 GB, free: 18.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.402, allocations: 100.6 kB / 0.8498 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/1.405, allocations: 1.191 MB / 0.851 GB, free: 17.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/1.405, allocations: 46.38 kB / 0.851 GB, free: 17.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/1.406, allocations: 0.6765 MB / 0.8517 GB, free: 17.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006835/1.407, allocations: 384.9 kB / 0.852 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/1.407, allocations: 172 kB / 0.8522 GB, free: 17.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002817/1.408, allocations: 347.3 kB / 0.8525 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/1.409, allocations: 436.1 kB / 0.8529 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.41, allocations: 0.5526 MB / 0.8535 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/1.412, allocations: 1.016 MB / 0.8545 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.412, allocations: 1.203 kB / 0.8545 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003234/1.415, allocations: 1.22 MB / 0.8557 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.415, allocations: 7.719 kB / 0.8557 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.415, allocations: 0 / 0.8557 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/1.415, allocations: 8.125 kB / 0.8557 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.416, allocations: 214.8 kB / 0.8559 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/1.416, allocations: 13.88 kB / 0.8559 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.419, allocations: 187 kB / 0.8561 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.419, allocations: 37.09 kB / 0.8561 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002042/1.421, allocations: 0.7339 MB / 0.8568 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001188/1.422, allocations: 0.5436 MB / 0.8574 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00235/1.425, allocations: 0.9893 MB / 0.8583 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/1.425, allocations: 6.219 kB / 0.8583 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003306/1.428, allocations: 1.195 MB / 0.8595 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.428, allocations: 6.438 kB / 0.8595 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.428, allocations: 2.469 kB / 0.8595 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.428, allocations: 8.031 kB / 0.8595 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.43, allocations: 208.1 kB / 0.8597 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/1.43, allocations: 9.906 kB / 0.8597 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.433, allocations: 168.5 kB / 0.8599 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.433, allocations: 39.64 kB / 0.8599 GB, free: 16.1 MB / 0.6544 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.0004995/1.433, allocations: 239.5 kB / 0.8602 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/1.434, allocations: 150.6 kB / 0.8603 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/1.437, allocations: 1.244 MB / 0.8615 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/1.437, allocations: 10.12 kB / 0.8615 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.437, allocations: 11.34 kB / 0.8615 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002368/1.44, allocations: 1.009 MB / 0.8625 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/1.447, allocations: 3.17 MB / 0.8656 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.447, allocations: 0 / 0.8656 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.449, allocations: 228.9 kB / 0.8658 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/1.449, allocations: 7.328 kB / 0.8658 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.449, allocations: 27.84 kB / 0.8659 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.449, allocations: 6.438 kB / 0.8659 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.449, allocations: 7.688 kB / 0.8659 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/1.453, allocations: 1.91 MB / 0.8677 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/1.454, allocations: 355.8 kB / 0.8681 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.454, allocations: 26.11 kB / 0.8681 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.456, allocations: 114.2 kB / 0.8682 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.456, allocations: 81.94 kB / 0.8683 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/1.456, allocations: 40.56 kB / 0.8683 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001304/1.457, allocations: 0.8296 MB / 0.8691 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/1.457, allocations: 1.203 kB / 0.8691 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002748/1.46, allocations: 0.8325 MB / 0.87 GB, free: 14.26 MB / 0.6544 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.001478/1.462, allocations: 0.5759 MB / 0.8705 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002808/1.465, allocations: 1.612 MB / 0.8721 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.465, allocations: 0 / 0.8721 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/1.465, allocations: 0.5711 MB / 0.8727 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/1.47, allocations: 0.8272 MB / 0.8735 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/1.477, allocations: 3.978 MB / 0.8773 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.479, allocations: 1.365 MB / 0.8787 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002683/1.482, allocations: 458.8 kB / 0.8791 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/1.482, allocations: 108.5 kB / 0.8792 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/1.482, allocations: 0 / 0.8792 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.05314/1.535, allocations: 28.7 MB / 0.9072 GB, free: 14.55 MB / 0.67 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)