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.001501/0.001501, allocations: 106.2 kB / 16.41 MB, free: 6.488 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.001618/0.001618, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.23/1.23, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.56 kB / 0.568 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 77.93 MB / 0.6441 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.5845/0.735, allocations: 294.2 MB / 0.9314 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03043/0.7655, allocations: 23.04 MB / 0.9539 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.7688, allocations: 75.62 kB / 0.954 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005016/0.7739, allocations: 1.873 MB / 0.9558 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.7894, allocations: 6.315 MB / 0.962 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007996/0.7975, allocations: 2.93 MB / 0.9649 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009471/0.807, allocations: 7.307 MB / 0.972 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005066/0.8121, allocations: 2.987 MB / 0.9749 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007208/0.8193, allocations: 2.946 MB / 0.9778 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.8242, allocations: 2.708 MB / 0.9804 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.8256, allocations: 340 kB / 0.9808 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/0.8379, allocations: 6.017 MB / 0.9866 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.8403, allocations: 1.461 MB / 0.9881 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004154/0.8445, allocations: 1.906 MB / 0.9899 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.8596, allocations: 6.959 MB / 0.9967 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.8596, allocations: 0 / 0.9967 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8596, allocations: 0 / 0.9967 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002217/0.8599, allocations: 0 / 0.9967 GB, free: 2.34 MB / 0.7481 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.01261/0.8725, allocations: 4.202 MB / 1.001 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8725, allocations: 8.625 kB / 1.001 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.8736, allocations: 392 kB / 1.001 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006041/0.8796, allocations: 0.8643 MB / 1.002 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.8842, allocations: 1.874 MB / 1.004 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.8844, allocations: 209.4 kB / 1.004 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008513/0.8853, allocations: 275.9 kB / 1.004 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007825/0.8931, allocations: 3.597 MB / 1.008 GB, free: 6.664 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.8932, allocations: 11.94 kB / 1.008 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005616/0.8938, allocations: 112 kB / 1.008 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.894, allocations: 149.3 kB / 1.008 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007156/0.9012, allocations: 3.288 MB / 1.011 GB, free: 3.094 MB / 0.7637 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.01944/0.9206, allocations: 14.23 MB / 1.025 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/0.9249, allocations: 2.497 MB / 1.028 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.9272, allocations: 1.356 MB / 1.029 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.9285, allocations: 1.378 MB / 1.03 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002446/0.931, allocations: 1.218 MB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 5.801e-06/0.931, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.006908/0.9379, allocations: 3.173 MB / 1.035 GB, free: 9.625 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.938, allocations: 77.41 kB / 1.035 GB, free: 9.535 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.9404, allocations: 1.46 MB / 1.036 GB, free: 8.07 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.9407, allocations: 69.7 kB / 1.036 GB, free: 7.996 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009692/0.9417, allocations: 1.145 MB / 1.037 GB, free: 6.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000817/0.9425, allocations: 0.7668 MB / 1.038 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006428/0.9432, allocations: 359.5 kB / 1.038 GB, free: 5.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.9433, allocations: 301.1 kB / 1.039 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.9448, allocations: 0.9097 MB / 1.04 GB, free: 4.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.9465, allocations: 1.262 MB / 1.041 GB, free: 3.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/0.95, allocations: 2.321 MB / 1.043 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.9501, allocations: 0 / 1.043 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004697/0.9548, allocations: 2.614 MB / 1.046 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.9549, allocations: 33.7 kB / 1.046 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.9549, allocations: 8 kB / 1.046 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/0.9549, allocations: 16 kB / 1.046 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.9569, allocations: 471.9 kB / 1.046 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-05/0.957, allocations: 23.88 kB / 1.046 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.9592, allocations: 190.6 kB / 1.046 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.9594, allocations: 79.98 kB / 1.046 GB, free: 13.24 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.001309/0.9607, allocations: 0.6807 MB / 1.047 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.9613, allocations: 226.6 kB / 1.047 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/0.9655, allocations: 2.519 MB / 1.05 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.9656, allocations: 20 kB / 1.05 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9656, allocations: 7.938 kB / 1.05 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003327/0.9689, allocations: 2.339 MB / 1.052 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/0.9782, allocations: 5.604 MB / 1.058 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.9782, allocations: 11.92 kB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/0.9805, allocations: 475.7 kB / 1.058 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.468e-05/0.9806, allocations: 8 kB / 1.058 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.9808, allocations: 60.03 kB / 1.058 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-05/0.9808, allocations: 12 kB / 1.058 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9808, allocations: 4 kB / 1.058 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.329/1.31, allocations: 3.809 MB / 1.062 GB, free: 326.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.311, allocations: 0.5488 MB / 1.062 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/1.312, allocations: 43.14 kB / 1.062 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.313, allocations: 69.95 kB / 1.062 GB, free: 326.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.314, allocations: 148 kB / 1.063 GB, free: 326.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.314, allocations: 73.84 kB / 1.063 GB, free: 326.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001582/1.315, allocations: 0.9873 MB / 1.064 GB, free: 325.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/1.315, allocations: 0 / 1.064 GB, free: 325.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002585/1.318, allocations: 0.9458 MB / 1.065 GB, free: 325.8 MB / 0.8106 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.007352/1.325, allocations: 4.632 MB / 1.069 GB, free: 323.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004307/1.33, allocations: 2.341 MB / 1.071 GB, free: 322.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.33, allocations: 5.719 kB / 1.071 GB, free: 322.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/1.332, allocations: 1.227 MB / 1.073 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/1.338, allocations: 1.295 MB / 1.074 GB, free: 322.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.364, allocations: 18.63 MB / 1.092 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.366, allocations: 1.977 MB / 1.094 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002496/1.368, allocations: 0.7225 MB / 1.095 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.369, allocations: 1.09 MB / 1.096 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of SimCode: time 1.042e-06/1.369, allocations: 0 / 1.096 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/1.456, allocations: 65.67 MB / 1.16 GB, free: 248.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.87, allocations: 4 kB / 1.16 GB, free: 248.9 MB / 0.8106 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)