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.001756/0.001756, allocations: 109.8 kB / 16.41 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.001844/0.001844, allocations: 189.2 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.13/1.13, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 69.17 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1803, allocations: 78.87 MB / 0.6506 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6701/0.8505, allocations: 294.3 MB / 0.938 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03284/0.8833, allocations: 23.04 MB / 0.9605 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.8867, allocations: 79.62 kB / 0.9606 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005091/0.8919, allocations: 1.794 MB / 0.9624 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.9073, allocations: 6.119 MB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008115/0.9155, allocations: 2.895 MB / 0.9712 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.9259, allocations: 7.302 MB / 0.9783 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004447/0.9303, allocations: 2.974 MB / 0.9812 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007463/0.9378, allocations: 3.135 MB / 0.9843 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00549/0.9433, allocations: 2.666 MB / 0.9869 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008654/0.9442, allocations: 344 kB / 0.9872 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.9573, allocations: 5.966 MB / 0.993 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002528/0.9598, allocations: 1.457 MB / 0.9944 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.9635, allocations: 1.918 MB / 0.9963 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.9776, allocations: 6.947 MB / 1.003 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9777, allocations: 0 / 1.003 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9777, allocations: 0 / 1.003 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001089/0.9778, allocations: 0 / 1.003 GB, free: 9.648 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.01029/0.9881, allocations: 4.206 MB / 1.007 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9881, allocations: 8.031 kB / 1.007 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005012/0.9887, allocations: 396 kB / 1.008 GB, free: 4.961 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.994, allocations: 0.8604 MB / 1.008 GB, free: 4.098 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.9978, allocations: 1.866 MB / 1.01 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.998, allocations: 209.4 kB / 1.01 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.9985, allocations: 280 kB / 1.011 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006263/1.005, allocations: 3.601 MB / 1.014 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-05/1.005, allocations: 7.891 kB / 1.014 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/1.005, allocations: 116 kB / 1.014 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/1.005, allocations: 153.2 kB / 1.015 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006009/1.011, allocations: 3.292 MB / 1.018 GB, free: 10.39 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.01878/1.03, allocations: 14.23 MB / 1.032 GB, free: 10.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/1.034, allocations: 2.489 MB / 1.034 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/1.036, allocations: 1.352 MB / 1.035 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/1.038, allocations: 1.378 MB / 1.037 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/1.04, allocations: 1.226 MB / 1.038 GB, free: 4.105 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 3.987e-06/1.04, allocations: 4 kB / 1.038 GB, free: 4.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.00662/1.046, allocations: 3.169 MB / 1.041 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.046, allocations: 89.33 kB / 1.041 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/1.049, allocations: 1.449 MB / 1.043 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/1.049, allocations: 77.69 kB / 1.043 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.05, allocations: 1.137 MB / 1.044 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008838/1.051, allocations: 0.7706 MB / 1.044 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005881/1.052, allocations: 359.5 kB / 1.045 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.052, allocations: 301.1 kB / 1.045 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/1.054, allocations: 0.9175 MB / 1.046 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/1.055, allocations: 1.255 MB / 1.047 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/1.059, allocations: 2.317 MB / 1.049 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.059, allocations: 4 kB / 1.049 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004637/1.064, allocations: 2.61 MB / 1.052 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/1.064, allocations: 33.7 kB / 1.052 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.064, allocations: 8 kB / 1.052 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/1.064, allocations: 16 kB / 1.052 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.066, allocations: 475.9 kB / 1.053 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-05/1.066, allocations: 16 kB / 1.053 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.068, allocations: 194.6 kB / 1.053 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.068, allocations: 83.92 kB / 1.053 GB, free: 4.547 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.001277/1.069, allocations: 0.6768 MB / 1.053 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/1.07, allocations: 230.6 kB / 1.054 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/1.074, allocations: 2.522 MB / 1.056 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.074, allocations: 31.88 kB / 1.056 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.074, allocations: 0 / 1.056 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3491/1.424, allocations: 2.326 MB / 1.058 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009711/1.433, allocations: 5.595 MB / 1.064 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.433, allocations: 2.906 kB / 1.064 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/1.436, allocations: 479 kB / 1.064 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.452e-05/1.436, allocations: 11.28 kB / 1.064 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.436, allocations: 57.23 kB / 1.064 GB, free: 319.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.382e-05/1.436, allocations: 10.03 kB / 1.064 GB, free: 319.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.436, allocations: 10.44 kB / 1.064 GB, free: 319.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006505/1.442, allocations: 3.811 MB / 1.068 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.444, allocations: 0.5498 MB / 1.069 GB, free: 317.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/1.444, allocations: 47.5 kB / 1.069 GB, free: 317.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.446, allocations: 67.59 kB / 1.069 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/1.446, allocations: 143 kB / 1.069 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.446, allocations: 70.78 kB / 1.069 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001447/1.448, allocations: 0.9917 MB / 1.07 GB, free: 317 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/1.448, allocations: 0 / 1.07 GB, free: 317 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002365/1.45, allocations: 0.9449 MB / 1.071 GB, free: 316.9 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.006322/1.456, allocations: 4.633 MB / 1.075 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003646/1.46, allocations: 2.343 MB / 1.078 GB, free: 313.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.46, allocations: 6.469 kB / 1.078 GB, free: 313.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.462, allocations: 1.225 MB / 1.079 GB, free: 313.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/1.467, allocations: 1.288 MB / 1.08 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/1.492, allocations: 18.63 MB / 1.098 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.493, allocations: 1.968 MB / 1.1 GB, free: 301.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002366/1.496, allocations: 0.7296 MB / 1.101 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.497, allocations: 1.105 MB / 1.102 GB, free: 300 MB / 0.8106 GB Notification: Performance of SimCode: time 1.222e-06/1.497, allocations: 0 / 1.102 GB, free: 300 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08994/1.587, allocations: 65.66 MB / 1.166 GB, free: 234.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.23, allocations: 10.59 kB / 1.166 GB, free: 234.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)