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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.000994, allocations: 169 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.438/0.438, allocations: 86.26 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007686/0.0007686, allocations: 96.91 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 71.01 MB / 0.5594 GB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.809/4.094, allocations: 1.882 GB / 2.441 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.094, allocations: 97.84 kB / 2.441 GB, free: 175.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.469/7.562, allocations: 1.071 GB / 3.512 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/7.562, allocations: 0 / 3.512 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000216/7.563, allocations: 51.92 kB / 3.512 GB, free: 19.9 MB / 0.6198 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.007221/7.57, allocations: 2.408 MB / 3.515 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/7.57, allocations: 8.031 kB / 3.515 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/7.574, allocations: 0.5098 MB / 3.515 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/7.576, allocations: 1.315 MB / 3.517 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/7.577, allocations: 103 kB / 3.517 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/7.577, allocations: 140.7 kB / 3.517 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/7.58, allocations: 1.672 MB / 3.518 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/7.58, allocations: 0 / 3.518 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/7.58, allocations: 67.98 kB / 3.518 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/7.58, allocations: 54.58 kB / 3.519 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/7.583, allocations: 1.408 MB / 3.52 GB, free: 12.02 MB / 0.6198 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.007827/7.591, allocations: 7.179 MB / 3.527 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/7.592, allocations: 1.192 MB / 3.528 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/7.593, allocations: 0.6145 MB / 3.529 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/7.594, allocations: 0.8633 MB / 3.53 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008617/7.594, allocations: 0.6064 MB / 3.53 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/7.594, allocations: 0 / 3.53 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=110): time 0.002917/7.597, allocations: 1.573 MB / 3.532 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/7.597, allocations: 90.11 kB / 3.532 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/7.599, allocations: 1.173 MB / 3.533 GB, free: 14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/7.599, allocations: 49.7 kB / 3.533 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/7.6, allocations: 0.6791 MB / 3.534 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/7.6, allocations: 386.3 kB / 3.534 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/7.6, allocations: 23.94 kB / 3.534 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001206/7.6, allocations: 349.9 kB / 3.534 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/7.601, allocations: 421.8 kB / 3.535 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/7.602, allocations: 0.5937 MB / 3.535 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/7.603, allocations: 1.017 MB / 3.536 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/7.603, allocations: 0 / 3.536 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002065/7.606, allocations: 1.214 MB / 3.537 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/7.606, allocations: 170.9 kB / 3.538 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.606, allocations: 4 kB / 3.538 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/7.606, allocations: 11.94 kB / 3.538 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/7.607, allocations: 223.7 kB / 3.538 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/7.607, allocations: 4 kB / 3.538 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/7.608, allocations: 174.9 kB / 3.538 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/7.608, allocations: 40 kB / 3.538 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/7.608, allocations: 7.938 kB / 3.538 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00168/7.61, allocations: 1.035 MB / 3.539 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/7.61, allocations: 0 / 3.539 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/7.61, allocations: 15.94 kB / 3.539 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/7.611, allocations: 211.7 kB / 3.539 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/7.611, allocations: 11.98 kB / 3.539 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/7.612, allocations: 159.2 kB / 3.539 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/7.612, allocations: 39.98 kB / 3.539 GB, free: 7.047 MB / 0.6355 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.0007914/7.613, allocations: 0.4903 MB / 3.54 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/7.613, allocations: 146.2 kB / 3.54 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/7.616, allocations: 1.25 MB / 3.541 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/7.616, allocations: 12 kB / 3.541 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/7.616, allocations: 0 / 3.541 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001598/7.617, allocations: 1.015 MB / 3.542 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/7.622, allocations: 3.194 MB / 3.545 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/7.622, allocations: 4 kB / 3.545 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/7.624, allocations: 243.7 kB / 3.546 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/7.624, allocations: 7.938 kB / 3.546 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/7.624, allocations: 28.3 kB / 3.546 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/7.624, allocations: 12 kB / 3.546 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/7.624, allocations: 3.938 kB / 3.546 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3597/7.983, allocations: 2.012 MB / 3.548 GB, free: 76.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/7.984, allocations: 366.1 kB / 3.548 GB, free: 76.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/7.984, allocations: 23.78 kB / 3.548 GB, free: 76.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/7.985, allocations: 119.8 kB / 3.548 GB, free: 76.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/7.986, allocations: 71.09 kB / 3.548 GB, free: 76.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/7.986, allocations: 44.5 kB / 3.548 GB, free: 76.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001154/7.987, allocations: 0.8072 MB / 3.549 GB, free: 76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/7.987, allocations: 0 / 3.549 GB, free: 76 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002978/7.99, allocations: 1.102 MB / 3.55 GB, free: 75.98 MB / 0.6355 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 (111): * Single equations (assignments): 109 * 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.004209/7.994, allocations: 2.947 MB / 3.553 GB, free: 74.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002539/7.997, allocations: 1.611 MB / 3.555 GB, free: 74.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/7.997, allocations: 0 / 3.555 GB, free: 74.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007731/7.997, allocations: 0.5695 MB / 3.555 GB, free: 74.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/8.001, allocations: 0.8102 MB / 3.556 GB, free: 74.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/8.006, allocations: 3.993 MB / 3.56 GB, free: 73.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/8.007, allocations: 1.37 MB / 3.561 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001749/8.008, allocations: 457 kB / 3.562 GB, free: 72.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/8.009, allocations: 121.2 kB / 3.562 GB, free: 72.58 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/8.009, allocations: 0 / 3.562 GB, free: 72.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.07572/8.084, allocations: 57.19 MB / 3.618 GB, free: 70.36 MB / 0.6355 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)