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.0009785/0.0009786, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.0009778/0.0009778, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9283/0.9283, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 65.42 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1201, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.556/0.6761, allocations: 294.2 MB / 0.919 GB, free: 6.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02907/0.7052, allocations: 23.04 MB / 0.9415 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.7084, allocations: 79.56 kB / 0.9415 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.7126, allocations: 1.787 MB / 0.9433 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.7265, allocations: 6.126 MB / 0.9493 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00762/0.7341, allocations: 2.902 MB / 0.9521 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009327/0.7435, allocations: 7.305 MB / 0.9592 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004389/0.7479, allocations: 2.983 MB / 0.9622 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/0.7539, allocations: 2.907 MB / 0.965 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/0.7585, allocations: 2.703 MB / 0.9676 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.7596, allocations: 344 kB / 0.968 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/0.7718, allocations: 5.986 MB / 0.9738 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.7741, allocations: 1.461 MB / 0.9752 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004675/0.7788, allocations: 1.906 MB / 0.9771 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.7932, allocations: 6.942 MB / 0.9839 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7932, allocations: 0 / 0.9839 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7932, allocations: 4 kB / 0.9839 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000164/0.7934, allocations: 0 / 0.9839 GB, free: 3.578 MB / 0.7325 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.01131/0.8047, allocations: 4.084 MB / 0.9879 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8048, allocations: 8.031 kB / 0.9879 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000686/0.8055, allocations: 400 kB / 0.9883 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005588/0.8111, allocations: 0.8468 MB / 0.9891 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.8149, allocations: 1.861 MB / 0.9909 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.8151, allocations: 209.4 kB / 0.9911 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005997/0.8157, allocations: 272 kB / 0.9914 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006518/0.8222, allocations: 3.601 MB / 0.9949 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/0.8223, allocations: 11.84 kB / 0.9949 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.8226, allocations: 112 kB / 0.995 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.8228, allocations: 145.3 kB / 0.9951 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005953/0.8288, allocations: 3.292 MB / 0.9983 GB, free: 4.477 MB / 0.7481 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.01731/0.8461, allocations: 14.2 MB / 1.012 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.8496, allocations: 2.489 MB / 1.015 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.8514, allocations: 1.356 MB / 1.016 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.8526, allocations: 1.375 MB / 1.017 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.8544, allocations: 1.226 MB / 1.019 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=213): time 3.937e-06/0.8544, allocations: 0 / 1.019 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=213): time 0.005463/0.8599, allocations: 3.16 MB / 1.022 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.86, allocations: 81.41 kB / 1.022 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.8619, allocations: 1.46 MB / 1.023 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.8622, allocations: 69.7 kB / 1.023 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.8632, allocations: 1.107 MB / 1.024 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007645/0.8639, allocations: 0.7354 MB / 1.025 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.8645, allocations: 355.5 kB / 1.025 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8646, allocations: 309.1 kB / 1.026 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.8662, allocations: 0.9097 MB / 1.026 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.8679, allocations: 1.255 MB / 1.028 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.8714, allocations: 2.325 MB / 1.03 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.8714, allocations: 0 / 1.03 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004765/0.8762, allocations: 2.601 MB / 1.033 GB, free: 15.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.8763, allocations: 40.66 kB / 1.033 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.8763, allocations: 8.844 kB / 1.033 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/0.8763, allocations: 16 kB / 1.033 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.8783, allocations: 471.3 kB / 1.033 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.934e-05/0.8783, allocations: 23.92 kB / 1.033 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.8804, allocations: 190 kB / 1.033 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.8806, allocations: 79.98 kB / 1.033 GB, free: 14.73 MB / 0.795 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.00129/0.8819, allocations: 0.6846 MB / 1.034 GB, free: 14.04 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006241/0.8826, allocations: 221.4 kB / 1.034 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/0.8869, allocations: 2.522 MB / 1.037 GB, free: 11.28 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.8869, allocations: 20 kB / 1.037 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.887, allocations: 3.938 kB / 1.037 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00328/0.8902, allocations: 2.331 MB / 1.039 GB, free: 8.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008894/0.8992, allocations: 5.596 MB / 1.044 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.8992, allocations: 4 kB / 1.044 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/0.9013, allocations: 471.4 kB / 1.045 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.179e-05/0.9013, allocations: 16.09 kB / 1.045 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.9015, allocations: 55.97 kB / 1.045 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/0.9016, allocations: 15.94 kB / 1.045 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9016, allocations: 4 kB / 1.045 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2879/1.189, allocations: 3.797 MB / 1.049 GB, free: 321.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.191, allocations: 0.5388 MB / 1.049 GB, free: 321.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/1.191, allocations: 45.83 kB / 1.049 GB, free: 321.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.193, allocations: 61.7 kB / 1.049 GB, free: 321.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/1.193, allocations: 152.7 kB / 1.049 GB, free: 321.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.193, allocations: 71.5 kB / 1.05 GB, free: 321.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001282/1.194, allocations: 0.9866 MB / 1.05 GB, free: 321.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.194, allocations: 3.969 kB / 1.05 GB, free: 321.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002122/1.196, allocations: 0.9401 MB / 1.051 GB, free: 321.2 MB / 0.795 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.006223/1.203, allocations: 4.613 MB / 1.056 GB, free: 319.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004175/1.207, allocations: 2.345 MB / 1.058 GB, free: 318.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.207, allocations: 1.719 kB / 1.058 GB, free: 318.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.209, allocations: 1.221 MB / 1.059 GB, free: 317.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/1.214, allocations: 1.292 MB / 1.061 GB, free: 317.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/1.238, allocations: 18.55 MB / 1.079 GB, free: 309.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.239, allocations: 1.972 MB / 1.081 GB, free: 308.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002407/1.242, allocations: 0.7265 MB / 1.081 GB, free: 308.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.243, allocations: 1.098 MB / 1.082 GB, free: 307.3 MB / 0.795 GB Notification: Performance of SimCode: time 1.343e-06/1.243, allocations: 0 / 1.082 GB, free: 307.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08703/1.33, allocations: 66.69 MB / 1.148 GB, free: 242.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.67, allocations: 10.28 kB / 1.148 GB, free: 242.2 MB / 0.795 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/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)