Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_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.008301/0.008301, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001519/0.001519, allocations: 189 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003803/0.003803, allocations: 284.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.375/1.375, allocations: 169.2 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 96.08 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5164, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.8053/1.322, allocations: 294.2 MB / 1.053 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0322/1.354, allocations: 23.06 MB / 1.076 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005646/1.36, allocations: 84.5 kB / 1.076 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00614/1.366, allocations: 1.791 MB / 1.078 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01785/1.384, allocations: 6.126 MB / 1.084 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008951/1.393, allocations: 2.898 MB / 1.086 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01269/1.406, allocations: 7.296 MB / 1.094 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007057/1.413, allocations: 2.971 MB / 1.096 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.011/1.424, allocations: 2.907 MB / 1.099 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00779/1.432, allocations: 2.712 MB / 1.102 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001949/1.434, allocations: 347.6 kB / 1.102 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02046/1.454, allocations: 5.982 MB / 1.108 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003986/1.458, allocations: 1.472 MB / 1.11 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006763/1.465, allocations: 1.905 MB / 1.111 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02062/1.485, allocations: 6.938 MB / 1.118 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.486, allocations: 0 / 1.118 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.774e-06/1.486, allocations: 0 / 1.118 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002361/1.486, allocations: 0 / 1.118 GB, free: 12.18 MB / 0.7637 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.01378/1.5, allocations: 4.092 MB / 1.122 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.5, allocations: 8.031 kB / 1.122 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/1.501, allocations: 394.3 kB / 1.123 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00632/1.507, allocations: 0.8531 MB / 1.123 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/1.512, allocations: 1.856 MB / 1.125 GB, free: 4.91 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/1.512, allocations: 211 kB / 1.125 GB, free: 4.707 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/1.513, allocations: 274.7 kB / 1.126 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/1.522, allocations: 3.59 MB / 1.129 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/1.522, allocations: 11.84 kB / 1.129 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/1.522, allocations: 115.7 kB / 1.129 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/1.522, allocations: 145.3 kB / 1.129 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/1.528, allocations: 3.288 MB / 1.133 GB, free: 13.17 MB / 0.7794 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.01805/1.546, allocations: 14.21 MB / 1.147 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/1.55, allocations: 2.484 MB / 1.149 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/1.552, allocations: 1.352 MB / 1.15 GB, free: 9.969 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.553, allocations: 1.377 MB / 1.152 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/1.555, allocations: 1.226 MB / 1.153 GB, free: 7.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 4.418e-06/1.555, allocations: 3.938 kB / 1.153 GB, free: 7.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.005756/1.561, allocations: 3.167 MB / 1.156 GB, free: 3.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.561, allocations: 81.34 kB / 1.156 GB, free: 3.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/1.563, allocations: 1.464 MB / 1.157 GB, free: 2.332 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002084/1.564, allocations: 61.7 kB / 1.157 GB, free: 2.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.565, allocations: 1.115 MB / 1.159 GB, free: 1.137 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007702/1.565, allocations: 0.731 MB / 1.159 GB, free: 424 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005749/1.566, allocations: 363.5 kB / 1.16 GB, free: 52 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.566, allocations: 305.1 kB / 1.16 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/1.568, allocations: 0.9136 MB / 1.161 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.569, allocations: 1.254 MB / 1.162 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/1.573, allocations: 2.325 MB / 1.164 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/1.573, allocations: 4 kB / 1.164 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004475/1.577, allocations: 2.606 MB / 1.167 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/1.577, allocations: 33.7 kB / 1.167 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.578, allocations: 8 kB / 1.167 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/1.578, allocations: 20.03 kB / 1.167 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.58, allocations: 467.3 kB / 1.167 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/1.58, allocations: 19.94 kB / 1.167 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.582, allocations: 186 kB / 1.168 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.582, allocations: 79.98 kB / 1.168 GB, free: 7.594 MB / 0.8106 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.001482/1.583, allocations: 0.6885 MB / 1.168 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/1.584, allocations: 217.5 kB / 1.169 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/1.588, allocations: 2.515 MB / 1.171 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/1.588, allocations: 20 kB / 1.171 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.588, allocations: 3.984 kB / 1.171 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003474/1.592, allocations: 2.327 MB / 1.173 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009439/1.601, allocations: 5.607 MB / 1.179 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.601, allocations: 4 kB / 1.179 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/1.604, allocations: 479.6 kB / 1.179 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/1.604, allocations: 8 kB / 1.179 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.604, allocations: 51.98 kB / 1.179 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/1.604, allocations: 8 kB / 1.179 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.604, allocations: 4 kB / 1.179 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/1.61, allocations: 3.809 MB / 1.183 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.611, allocations: 0.541 MB / 1.184 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/1.611, allocations: 48 kB / 1.184 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.613, allocations: 62.8 kB / 1.184 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.613, allocations: 153.7 kB / 1.184 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.613, allocations: 67.98 kB / 1.184 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001365/1.614, allocations: 0.9906 MB / 1.185 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/1.614, allocations: 0 / 1.185 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002226/1.617, allocations: 0.935 MB / 1.186 GB, free: 4.855 MB / 0.8262 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.00648/1.623, allocations: 4.636 MB / 1.19 GB, free: 192 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.627, allocations: 2.349 MB / 1.193 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.627, allocations: 0 / 1.193 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/1.629, allocations: 1.221 MB / 1.194 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/1.634, allocations: 1.299 MB / 1.195 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/1.669, allocations: 18.52 MB / 1.213 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/1.672, allocations: 1.971 MB / 1.215 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003112/1.675, allocations: 0.721 MB / 1.216 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/1.677, allocations: 1.101 MB / 1.217 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of SimCode: time 9.02e-07/1.677, allocations: 0 / 1.217 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.802, allocations: 66.74 MB / 1.282 GB, free: 2.543 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.77, allocations: 0 / 1.282 GB, free: 2.543 MB / 0.92 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)