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.001181/0.001181, allocations: 106.5 kB / 16.64 MB, free: 6.812 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.001279/0.001279, allocations: 194 kB / 17.57 MB, free: 5.918 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.331/1.331, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.009/1.009, allocations: 122.9 MB / 414.3 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.91 kB / 0.4912 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4079, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.714/1.122, allocations: 290.8 MB / 0.8513 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.155, allocations: 22.93 MB / 0.8737 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005083/1.16, allocations: 66.91 kB / 0.8738 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005872/1.166, allocations: 1.604 MB / 0.8754 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/1.184, allocations: 5.756 MB / 0.881 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009203/1.193, allocations: 2.663 MB / 0.8836 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01156/1.205, allocations: 7.301 MB / 0.8907 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/1.211, allocations: 2.879 MB / 0.8935 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009297/1.22, allocations: 2.92 MB / 0.8964 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006111/1.226, allocations: 2.877 MB / 0.8992 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/1.228, allocations: 348 kB / 0.8995 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01621/1.244, allocations: 6.215 MB / 0.9056 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003841/1.248, allocations: 1.477 MB / 0.907 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007787/1.256, allocations: 1.898 MB / 0.9089 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01407/1.27, allocations: 5.181 MB / 0.9139 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/1.27, allocations: 7.938 kB / 0.9139 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.486e-06/1.27, allocations: 0 / 0.9139 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002801/1.271, allocations: 0 / 0.9139 GB, free: 4.152 MB / 0.6231 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.01433/1.285, allocations: 4.08 MB / 0.9179 GB, free: 16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.285, allocations: 12.62 kB / 0.9179 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006428/1.291, allocations: 0.8546 MB / 0.9188 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/1.296, allocations: 1.786 MB / 0.9205 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/1.296, allocations: 209.4 kB / 0.9207 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009957/1.297, allocations: 276 kB / 0.921 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009071/1.306, allocations: 3.601 MB / 0.9245 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/1.306, allocations: 11.84 kB / 0.9245 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005921/1.307, allocations: 112 kB / 0.9246 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.307, allocations: 149.2 kB / 0.9248 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007015/1.314, allocations: 3.288 MB / 0.928 GB, free: 5.508 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.02061/1.335, allocations: 14.14 MB / 0.9418 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/1.339, allocations: 2.493 MB / 0.9442 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/1.342, allocations: 1.352 MB / 0.9455 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.343, allocations: 1.375 MB / 0.9469 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002337/1.345, allocations: 1.222 MB / 0.9481 GB, free: 15.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=213): time 4.548e-06/1.345, allocations: 0 / 0.9481 GB, free: 15.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=213): time 0.006501/1.352, allocations: 3.164 MB / 0.9512 GB, free: 12.15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/1.352, allocations: 81.34 kB / 0.9512 GB, free: 12.05 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/1.355, allocations: 1.456 MB / 0.9527 GB, free: 10.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/1.355, allocations: 73.7 kB / 0.9527 GB, free: 10.52 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.356, allocations: 1.115 MB / 0.9538 GB, free: 9.391 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.358, allocations: 0.7277 MB / 0.9545 GB, free: 8.652 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008084/1.358, allocations: 359.5 kB / 0.9549 GB, free: 8.293 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.358, allocations: 301.1 kB / 0.9552 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.36, allocations: 0.9097 MB / 0.956 GB, free: 7.082 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/1.362, allocations: 1.274 MB / 0.9573 GB, free: 5.688 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/1.366, allocations: 2.317 MB / 0.9596 GB, free: 3.266 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.366, allocations: 4 kB / 0.9596 GB, free: 3.262 MB / 0.67 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004715/1.371, allocations: 2.601 MB / 0.9621 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/1.371, allocations: 39.36 kB / 0.9621 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/1.371, allocations: 8 kB / 0.9621 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/1.371, allocations: 16.69 kB / 0.9622 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/1.373, allocations: 471.3 kB / 0.9626 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.844e-05/1.373, allocations: 23.88 kB / 0.9626 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/1.376, allocations: 397.7 kB / 0.963 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/1.376, allocations: 83.98 kB / 0.9631 GB, free: 15.62 MB / 0.6856 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.001412/1.378, allocations: 0.6799 MB / 0.9638 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/1.379, allocations: 217.4 kB / 0.964 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/1.383, allocations: 2.522 MB / 0.9664 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/1.383, allocations: 23.94 kB / 0.9664 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.383, allocations: 3.938 kB / 0.9664 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003504/1.387, allocations: 2.331 MB / 0.9687 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.398, allocations: 5.603 MB / 0.9742 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.398, allocations: 4.312 kB / 0.9742 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.4, allocations: 479.3 kB / 0.9747 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.36e-05/1.4, allocations: 8 kB / 0.9747 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/1.4, allocations: 59.97 kB / 0.9747 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.969e-05/1.4, allocations: 16 kB / 0.9747 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.4, allocations: 3.938 kB / 0.9747 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006262/1.407, allocations: 3.788 MB / 0.9784 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.408, allocations: 0.541 MB / 0.979 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/1.409, allocations: 43.98 kB / 0.979 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.411, allocations: 243.5 kB / 0.9792 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/1.412, allocations: 149.7 kB / 0.9794 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.412, allocations: 71.97 kB / 0.9795 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001814/1.414, allocations: 0.9906 MB / 0.9804 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.41e-07/1.414, allocations: 0 / 0.9804 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002754/1.416, allocations: 0.935 MB / 0.9813 GB, free: 12.66 MB / 0.7012 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.001041/1.417, allocations: 376 kB / 0.9817 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0085/1.426, allocations: 3.883 MB / 0.9855 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.426, allocations: 0 / 0.9855 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.428, allocations: 1.219 MB / 0.9867 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006966/1.435, allocations: 1.292 MB / 0.9879 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.447, allocations: 7.199 MB / 0.995 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/1.449, allocations: 1.979 MB / 0.9969 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.45, allocations: 215.4 kB / 0.9971 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/1.45, allocations: 0 / 0.9971 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of Templates: time 0.3771/1.827, allocations: 41.54 MB / 1.038 GB, free: 310.6 MB / 0.7325 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)