Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8231/0.8231, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 199.6 kB / 169.7 MB, free: 1.707 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 100.2 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.748e-05, allocations: 3.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1907, allocations: 76.76 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.05/6.241, allocations: 2.171 GB / 2.8 GB, free: 109 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/6.242, allocations: 96.38 kB / 2.8 GB, free: 109 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.843/15.08, allocations: 2.082 GB / 4.882 GB, free: 64.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.522e-06/15.08, allocations: 0 / 4.882 GB, free: 64.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002917/15.08, allocations: 89.36 kB / 4.882 GB, free: 64.85 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01787/15.1, allocations: 4.04 MB / 4.886 GB, free: 63.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/15.1, allocations: 9.438 kB / 4.886 GB, free: 63.03 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001871/15.1, allocations: 463.2 kB / 4.886 GB, free: 62.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/15.11, allocations: 0.8839 MB / 4.887 GB, free: 62.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007157/15.12, allocations: 2.071 MB / 4.889 GB, free: 62.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/15.12, allocations: 251.3 kB / 4.889 GB, free: 62.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/15.12, allocations: 336.9 kB / 4.89 GB, free: 62.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/15.13, allocations: 4.096 MB / 4.894 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.945e-05/15.13, allocations: 14.25 kB / 4.894 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/15.13, allocations: 136.6 kB / 4.894 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/15.13, allocations: 147.8 kB / 4.894 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007255/15.14, allocations: 4.049 MB / 4.898 GB, free: 61.71 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.02744/15.17, allocations: 17.41 MB / 4.915 GB, free: 52.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/15.17, allocations: 3.185 MB / 4.918 GB, free: 52.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/15.17, allocations: 1.807 MB / 4.92 GB, free: 52.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/15.17, allocations: 1.62 MB / 4.921 GB, free: 50.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002692/15.18, allocations: 1.806 MB / 4.923 GB, free: 50.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=304): time 6.032e-06/15.18, allocations: 3.938 kB / 4.923 GB, free: 50.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=304): time 0.005298/15.18, allocations: 3.03 MB / 4.926 GB, free: 50.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/15.18, allocations: 237.1 kB / 4.926 GB, free: 50.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/15.18, allocations: 1.415 MB / 4.928 GB, free: 49.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/15.18, allocations: 86.11 kB / 4.928 GB, free: 49.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/15.19, allocations: 1.227 MB / 4.929 GB, free: 49.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/15.19, allocations: 1.043 MB / 4.93 GB, free: 48.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/15.19, allocations: 58.09 kB / 4.93 GB, free: 48.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002236/15.19, allocations: 417.3 kB / 4.931 GB, free: 48.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/15.19, allocations: 1.232 MB / 4.932 GB, free: 48.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/15.19, allocations: 1.777 MB / 4.933 GB, free: 47.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/15.2, allocations: 1.564 MB / 4.935 GB, free: 47.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/15.2, allocations: 7.625 kB / 4.935 GB, free: 47.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.007288/15.2, allocations: 3.527 MB / 4.938 GB, free: 46.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/15.2, allocations: 70.67 kB / 4.939 GB, free: 46.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/15.2, allocations: 7.562 kB / 4.939 GB, free: 46.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.344e-05/15.2, allocations: 27.86 kB / 4.939 GB, free: 46.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/15.21, allocations: 0.6083 MB / 4.939 GB, free: 46.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-05/15.21, allocations: 30.92 kB / 4.939 GB, free: 46.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/15.21, allocations: 451.7 kB / 4.94 GB, free: 46.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/15.21, allocations: 116.3 kB / 4.94 GB, free: 46.09 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 365 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001259/15.21, allocations: 268.4 kB / 4.94 GB, free: 45.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/15.21, allocations: 256.6 kB / 4.94 GB, free: 45.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00836/15.22, allocations: 3.452 MB / 4.944 GB, free: 44.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/15.22, allocations: 34.09 kB / 4.944 GB, free: 44.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/15.22, allocations: 0 / 4.944 GB, free: 44.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005088/15.23, allocations: 2.974 MB / 4.947 GB, free: 43.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/15.24, allocations: 7.076 MB / 4.953 GB, free: 40.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/15.24, allocations: 3.438 kB / 4.953 GB, free: 40.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/15.25, allocations: 0.5944 MB / 4.954 GB, free: 40.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.515e-05/15.25, allocations: 14.97 kB / 4.954 GB, free: 40.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/15.25, allocations: 72.12 kB / 4.954 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.463e-05/15.25, allocations: 11.84 kB / 4.954 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/15.25, allocations: 7.25 kB / 4.954 GB, free: 40.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008338/15.26, allocations: 5.295 MB / 4.959 GB, free: 36.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/15.26, allocations: 0.6961 MB / 4.96 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/15.26, allocations: 57.31 kB / 4.96 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/15.26, allocations: 268.7 kB / 4.96 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/15.26, allocations: 187.9 kB / 4.96 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/15.26, allocations: 95.11 kB / 4.961 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002623/15.27, allocations: 1.1 MB / 4.962 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.7e-07/15.27, allocations: 0 / 4.962 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007096/15.27, allocations: 1.566 MB / 4.963 GB, free: 32.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01992/15.29, allocations: 11.16 MB / 4.974 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007587/15.3, allocations: 3.204 MB / 4.977 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/15.3, allocations: 4 kB / 4.977 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003848/15.31, allocations: 1.6 MB / 4.979 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009618/15.31, allocations: 1.313 MB / 4.98 GB, free: 17.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/15.34, allocations: 6.791 MB / 4.987 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/15.34, allocations: 2.229 MB / 4.989 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005815/15.34, allocations: 1.009 MB / 4.99 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/15.35, allocations: 1.282 MB / 4.991 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of SimCode: time 1.653e-06/15.35, allocations: 0 / 4.991 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9227/16.27, allocations: 147.7 MB / 5.135 GB, free: 64.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/16.27, allocations: 208.9 kB / 5.136 GB, free: 64.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/23.78, allocations: 0 / 5.136 GB, free: 64.04 MB / 0.7448 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)