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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.443/1.443, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9848/0.9848, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 11 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.695/0.8961, allocations: 238.7 MB / 0.7898 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03367/0.9298, allocations: 21.24 MB / 0.8105 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.9343, allocations: 59.69 kB / 0.8106 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00633/0.9406, allocations: 1.532 MB / 0.8121 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.5459/1.487, allocations: 4.57 MB / 0.8165 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007563/1.494, allocations: 2.135 MB / 0.8186 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.505, allocations: 4.155 MB / 0.8227 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008835/1.514, allocations: 2.29 MB / 0.8249 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/1.526, allocations: 2.236 MB / 0.8271 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00777/1.534, allocations: 1.737 MB / 0.8288 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002677/1.537, allocations: 167.4 kB / 0.829 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/1.555, allocations: 2.392 MB / 0.8313 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005607/1.561, allocations: 1.166 MB / 0.8324 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005736/1.567, allocations: 0.6764 MB / 0.8331 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01537/1.582, allocations: 4.193 MB / 0.8372 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.582, allocations: 0 / 0.8372 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.328e-06/1.582, allocations: 0 / 0.8372 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002308/1.583, allocations: 2.594 kB / 0.8372 GB, free: 24.41 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01619/1.599, allocations: 3.388 MB / 0.8405 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.848e-05/1.599, allocations: 9.25 kB / 0.8405 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002442/1.601, allocations: 398.2 kB / 0.8409 GB, free: 22.81 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009006/1.61, allocations: 0.8559 MB / 0.8417 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/1.619, allocations: 1.763 MB / 0.8435 GB, free: 22.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/1.619, allocations: 206.3 kB / 0.8436 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/1.621, allocations: 279.5 kB / 0.8439 GB, free: 22.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009435/1.63, allocations: 3.571 MB / 0.8474 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/1.63, allocations: 7.703 kB / 0.8474 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/1.631, allocations: 112.3 kB / 0.8475 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/1.631, allocations: 147.5 kB / 0.8477 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00845/1.639, allocations: 3.288 MB / 0.8509 GB, free: 21.75 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.02333/1.663, allocations: 14.19 MB / 0.8647 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/1.667, allocations: 2.501 MB / 0.8672 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.668, allocations: 1.294 MB / 0.8684 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/1.671, allocations: 1.233 MB / 0.8696 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=216): time 5.51e-06/1.671, allocations: 5.109 kB / 0.8696 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=216): time 0.005891/1.677, allocations: 3.208 MB / 0.8728 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/1.677, allocations: 73.47 kB / 0.8728 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/1.679, allocations: 1.443 MB / 0.8743 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/1.679, allocations: 68.52 kB / 0.8743 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008551/1.68, allocations: 1.115 MB / 0.8754 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/1.681, allocations: 0.7451 MB / 0.8761 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.681, allocations: 42.94 kB / 0.8762 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.681, allocations: 383.7 kB / 0.8765 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.682, allocations: 0.9214 MB / 0.8774 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.684, allocations: 1.273 MB / 0.8787 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/1.686, allocations: 1.135 MB / 0.8798 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.686, allocations: 0 / 0.8798 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00427/1.69, allocations: 2.618 MB / 0.8823 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/1.69, allocations: 34.98 kB / 0.8824 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.69, allocations: 5.844 kB / 0.8824 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/1.69, allocations: 18.09 kB / 0.8824 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.692, allocations: 491.2 kB / 0.8829 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.551e-05/1.692, allocations: 20.64 kB / 0.8829 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/1.696, allocations: 402.2 kB / 0.8833 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/1.696, allocations: 80.45 kB / 0.8834 GB, free: 8.277 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * 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.002027/1.698, allocations: 0.6829 MB / 0.884 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/1.699, allocations: 223.9 kB / 0.8842 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/1.703, allocations: 2.558 MB / 0.8867 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.703, allocations: 20.53 kB / 0.8868 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.703, allocations: 0 / 0.8868 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003117/1.706, allocations: 2.362 MB / 0.8891 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.716, allocations: 5.639 MB / 0.8946 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.716, allocations: 3.281 kB / 0.8946 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.719, allocations: 490.8 kB / 0.895 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/1.719, allocations: 10.31 kB / 0.895 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/1.719, allocations: 60 kB / 0.8951 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/1.719, allocations: 13.64 kB / 0.8951 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.719, allocations: 3.406 kB / 0.8951 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005548/1.724, allocations: 3.998 MB / 0.899 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.726, allocations: 0.5404 MB / 0.8996 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/1.727, allocations: 52.36 kB / 0.8996 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.729, allocations: 246.4 kB / 0.8998 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/1.73, allocations: 156.5 kB / 0.9 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.73, allocations: 69.09 kB / 0.9001 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001468/1.731, allocations: 0.9825 MB / 0.901 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.71e-07/1.731, allocations: 0 / 0.901 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003749/1.735, allocations: 0.9414 MB / 0.9019 GB, free: 1.328 MB / 0.6387 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 (220): * Single equations (assignments): 218 * 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.007453/1.743, allocations: 5.486 MB / 0.9073 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004079/1.747, allocations: 2.349 MB / 0.9096 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/1.747, allocations: 8.062 kB / 0.9096 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.749, allocations: 1.234 MB / 0.9108 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006171/1.755, allocations: 1.211 MB / 0.912 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/1.787, allocations: 21.14 MB / 0.9326 GB, free: 6.375 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/1.788, allocations: 2.03 MB / 0.9346 GB, free: 4.422 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003118/1.792, allocations: 0.729 MB / 0.9353 GB, free: 3.688 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.793, allocations: 1.1 MB / 0.9364 GB, free: 3.422 MB / 0.67 GB Notification: Performance of SimCode: time 1.282e-06/1.793, allocations: 0 / 0.9364 GB, free: 3.422 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.904, allocations: 65.69 MB / 1.001 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/1.904, allocations: 219.8 kB / 1.001 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.92/5.824, allocations: 0 / 1.001 GB, free: 2.293 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: