Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 106 kB / 15.98 MB, free: 5.871 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.0012/0.0012, allocations: 187.7 kB / 16.91 MB, free: 5.738 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.545/1.545, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8034/0.8034, allocations: 122.9 MB / 413.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 61.38 kB / 0.4906 GB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1856, allocations: 77.94 MB / 0.5667 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 1.252/1.438, allocations: 290.8 MB / 0.8507 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03547/1.473, allocations: 22.93 MB / 0.8731 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006097/1.48, allocations: 69.5 kB / 0.8732 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006788/1.486, allocations: 1.611 MB / 0.8748 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01944/1.506, allocations: 5.754 MB / 0.8804 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009757/1.516, allocations: 2.669 MB / 0.883 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01247/1.528, allocations: 7.296 MB / 0.8901 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005404/1.534, allocations: 2.879 MB / 0.8929 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009853/1.543, allocations: 2.915 MB / 0.8958 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007149/1.551, allocations: 2.884 MB / 0.8986 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/1.552, allocations: 342.8 kB / 0.8989 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01643/1.569, allocations: 6.221 MB / 0.905 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/1.572, allocations: 1.475 MB / 0.9064 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00572/1.578, allocations: 1.907 MB / 0.9083 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02042/1.598, allocations: 7.298 MB / 0.9154 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/1.598, allocations: 0 / 0.9154 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/1.598, allocations: 0 / 0.9154 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000215/1.599, allocations: 0 / 0.9154 GB, free: 13.7 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01574/1.614, allocations: 4.091 MB / 0.9194 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/1.614, allocations: 11.28 kB / 0.9194 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006343/1.621, allocations: 0.848 MB / 0.9202 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/1.625, allocations: 1.792 MB / 0.922 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/1.626, allocations: 204.3 kB / 0.9222 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000543/1.626, allocations: 275.8 kB / 0.9225 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007101/1.633, allocations: 3.602 MB / 0.926 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/1.633, allocations: 7.906 kB / 0.926 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/1.634, allocations: 113 kB / 0.9261 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/1.634, allocations: 147.1 kB / 0.9262 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005949/1.64, allocations: 3.29 MB / 0.9294 GB, free: 5.039 MB / 0.6544 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.019/1.659, allocations: 14.14 MB / 0.9432 GB, free: 5.953 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/1.663, allocations: 2.48 MB / 0.9457 GB, free: 3.426 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/1.665, allocations: 1.352 MB / 0.947 GB, free: 2.074 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.666, allocations: 1.379 MB / 0.9483 GB, free: 416 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/1.668, allocations: 1.22 MB / 0.9495 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 4.508e-06/1.668, allocations: 0 / 0.9495 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005816/1.674, allocations: 3.17 MB / 0.9526 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/1.674, allocations: 73.41 kB / 0.9527 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/1.676, allocations: 1.456 MB / 0.9541 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/1.676, allocations: 69.7 kB / 0.9542 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.677, allocations: 1.114 MB / 0.9553 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/1.678, allocations: 0.7343 MB / 0.956 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/1.679, allocations: 367.4 kB / 0.9563 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.679, allocations: 302.8 kB / 0.9566 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.68, allocations: 0.9136 MB / 0.9575 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.682, allocations: 1.26 MB / 0.9588 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.685, allocations: 2.316 MB / 0.961 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.685, allocations: 4 kB / 0.961 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004653/1.69, allocations: 2.605 MB / 0.9636 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.69, allocations: 37.7 kB / 0.9636 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.69, allocations: 8 kB / 0.9636 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/1.69, allocations: 16 kB / 0.9636 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.692, allocations: 468.2 kB / 0.9641 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/1.692, allocations: 18.62 kB / 0.9641 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.695, allocations: 401.7 kB / 0.9645 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.696, allocations: 75.98 kB / 0.9645 GB, free: 15.62 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.001484/1.697, allocations: 0.6882 MB / 0.9652 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/1.698, allocations: 217.4 kB / 0.9654 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/1.702, allocations: 2.524 MB / 0.9679 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/1.702, allocations: 24 kB / 0.9679 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.702, allocations: 0 / 0.9679 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003501/1.706, allocations: 2.332 MB / 0.9702 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.717, allocations: 5.606 MB / 0.9757 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.717, allocations: 0 / 0.9757 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.719, allocations: 483 kB / 0.9761 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-05/1.719, allocations: 15.94 kB / 0.9761 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.72, allocations: 55.97 kB / 0.9762 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.149e-05/1.72, allocations: 8 kB / 0.9762 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.72, allocations: 6.625 kB / 0.9762 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/1.726, allocations: 3.792 MB / 0.9799 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.728, allocations: 0.5371 MB / 0.9804 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007676/1.729, allocations: 47.98 kB / 0.9805 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.732, allocations: 243.5 kB / 0.9807 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/1.732, allocations: 144.3 kB / 0.9808 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.733, allocations: 72.03 kB / 0.9809 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002077/1.735, allocations: 0.9945 MB / 0.9819 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.735, allocations: 0 / 0.9819 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003666/1.738, allocations: 0.9428 MB / 0.9828 GB, free: 12.78 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * 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.001102/1.739, allocations: 372.7 kB / 0.9832 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008828/1.748, allocations: 3.891 MB / 0.987 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.748, allocations: 0 / 0.987 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.751, allocations: 1.223 MB / 0.9882 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007537/1.758, allocations: 1.291 MB / 0.9894 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.77, allocations: 7.014 MB / 0.9963 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/1.773, allocations: 1.971 MB / 0.9982 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003815/1.777, allocations: 0.7212 MB / 0.9989 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.778, allocations: 203.4 kB / 0.9991 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/1.778, allocations: 0 / 0.9991 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.08031/1.858, allocations: 46.96 MB / 1.045 GB, free: 13.93 MB / 0.7794 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)