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.005906/0.005906, allocations: 98.16 kB / 15.73 MB, free: 6.496 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.001391/0.001391, allocations: 194.9 kB / 16.67 MB, free: 6.391 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.01517/0.01517, allocations: 286.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.374/1.374, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 99.91 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1518, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.5788/0.7306, allocations: 294.2 MB / 1.053 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.7577, allocations: 23.06 MB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.7607, allocations: 79.62 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004588/0.7653, allocations: 1.865 MB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01482/0.7802, allocations: 6.316 MB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007581/0.7878, allocations: 2.933 MB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008849/0.7966, allocations: 7.307 MB / 1.094 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4377/1.234, allocations: 2.966 MB / 1.097 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007072/1.241, allocations: 2.941 MB / 1.1 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005259/1.247, allocations: 2.71 MB / 1.102 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001232/1.248, allocations: 343.7 kB / 1.103 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/1.261, allocations: 6.015 MB / 1.108 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003186/1.264, allocations: 1.467 MB / 1.11 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005835/1.27, allocations: 1.903 MB / 1.112 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/1.286, allocations: 6.962 MB / 1.119 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.286, allocations: 0 / 1.119 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/1.286, allocations: 0.9375 kB / 1.119 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002001/1.286, allocations: 0 / 1.119 GB, free: 8.289 MB / 0.8419 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.01451/1.3, allocations: 4.197 MB / 1.123 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.3, allocations: 14.8 kB / 1.123 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001546/1.302, allocations: 392.5 kB / 1.123 GB, free: 22.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006455/1.308, allocations: 0.8595 MB / 1.124 GB, free: 22.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005228/1.314, allocations: 1.876 MB / 1.126 GB, free: 21.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/1.314, allocations: 206 kB / 1.126 GB, free: 21.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009472/1.315, allocations: 277.7 kB / 1.126 GB, free: 21.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008312/1.323, allocations: 3.594 MB / 1.13 GB, free: 21.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/1.323, allocations: 18.58 kB / 1.13 GB, free: 21.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/1.324, allocations: 115.1 kB / 1.13 GB, free: 21.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/1.324, allocations: 147.2 kB / 1.13 GB, free: 21.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005617/1.329, allocations: 3.284 MB / 1.133 GB, free: 21.34 MB / 0.8575 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.01508/1.345, allocations: 14.24 MB / 1.147 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/1.348, allocations: 2.485 MB / 1.15 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/1.349, allocations: 1.353 MB / 1.151 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.35, allocations: 1.381 MB / 1.152 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.352, allocations: 1.22 MB / 1.153 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 4.98e-06/1.352, allocations: 8.609 kB / 1.153 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.00503/1.357, allocations: 3.181 MB / 1.156 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.357, allocations: 77.38 kB / 1.157 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.359, allocations: 1.452 MB / 1.158 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/1.359, allocations: 67.91 kB / 1.158 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/1.36, allocations: 1.136 MB / 1.159 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/1.36, allocations: 0.7687 MB / 1.16 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/1.361, allocations: 364.3 kB / 1.16 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/1.361, allocations: 308.4 kB / 1.161 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.362, allocations: 0.9119 MB / 1.161 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.364, allocations: 1.252 MB / 1.163 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/1.367, allocations: 2.322 MB / 1.165 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.367, allocations: 0 / 1.165 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00387/1.371, allocations: 2.612 MB / 1.167 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/1.371, allocations: 39.91 kB / 1.168 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.371, allocations: 8.531 kB / 1.168 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.371, allocations: 17.22 kB / 1.168 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.372, allocations: 464 kB / 1.168 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/1.372, allocations: 22.66 kB / 1.168 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.375, allocations: 195.9 kB / 1.168 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/1.375, allocations: 79.3 kB / 1.168 GB, free: 8.277 MB / 0.8575 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.001161/1.376, allocations: 0.6861 MB / 1.169 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/1.376, allocations: 228.4 kB / 1.169 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/1.38, allocations: 2.528 MB / 1.172 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.38, allocations: 22.38 kB / 1.172 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.38, allocations: 2.766 kB / 1.172 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002897/1.383, allocations: 2.329 MB / 1.174 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008115/1.391, allocations: 5.616 MB / 1.179 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.391, allocations: 2.5 kB / 1.179 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.393, allocations: 479.7 kB / 1.18 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/1.393, allocations: 12.28 kB / 1.18 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.393, allocations: 56.64 kB / 1.18 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.393, allocations: 11.56 kB / 1.18 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.393, allocations: 2.125 kB / 1.18 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/1.398, allocations: 3.814 MB / 1.184 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.4, allocations: 0.5467 MB / 1.184 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/1.4, allocations: 50 kB / 1.184 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.401, allocations: 59.48 kB / 1.184 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.402, allocations: 154.3 kB / 1.184 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.402, allocations: 71.69 kB / 1.185 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001154/1.403, allocations: 0.9879 MB / 1.185 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/1.403, allocations: 0.7812 kB / 1.185 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002054/1.405, allocations: 0.9431 MB / 1.186 GB, free: 5.969 MB / 0.8575 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.005556/1.41, allocations: 4.636 MB / 1.191 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003147/1.414, allocations: 2.347 MB / 1.193 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.414, allocations: 0.75 kB / 1.193 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.415, allocations: 1.224 MB / 1.194 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/1.42, allocations: 1.296 MB / 1.196 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.445, allocations: 18.66 MB / 1.214 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.447, allocations: 1.967 MB / 1.216 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002463/1.449, allocations: 0.7288 MB / 1.217 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.45, allocations: 1.098 MB / 1.218 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/1.45, allocations: 4 kB / 1.218 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.553, allocations: 65.71 MB / 1.282 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/14, allocations: 3.938 kB / 1.282 GB, free: 6.285 MB / 0.9356 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)