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.7644/0.7644, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 184.9 kB / 164.7 MB, free: 6.527 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.701/1.701, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.0009546/0.0009546, allocations: 87.55 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.877e-05, allocations: 7.984 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.168, allocations: 76.75 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.474/5.643, allocations: 2.171 GB / 2.793 GB, free: 59.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/5.643, allocations: 95.17 kB / 2.793 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.328/13.97, allocations: 2.06 GB / 4.853 GB, free: 21.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/13.97, allocations: 0 / 4.853 GB, free: 21.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002072/13.97, allocations: 87.81 kB / 4.853 GB, free: 21.06 MB / 0.7136 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.01592/13.99, allocations: 4.04 MB / 4.857 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/13.99, allocations: 8.031 kB / 4.857 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00729/13.99, allocations: 0.8932 MB / 4.858 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/14, allocations: 2.067 MB / 4.86 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/14, allocations: 104 kB / 4.86 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/14, allocations: 204 kB / 4.86 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006374/14.01, allocations: 3.679 MB / 4.864 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006026/14.01, allocations: 3.633 MB / 4.867 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/14.01, allocations: 7.938 kB / 4.867 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/14.01, allocations: 7.953 kB / 4.867 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/14.01, allocations: 150.4 kB / 4.867 GB, free: 6.012 MB / 0.7136 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.02672/14.04, allocations: 17.09 MB / 4.884 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/14.05, allocations: 3.445 MB / 4.887 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7179/14.76, allocations: 1.746 MB / 4.889 GB, free: 70.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/14.77, allocations: 1.626 MB / 4.891 GB, free: 68.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004085/14.77, allocations: 1.782 MB / 4.892 GB, free: 68.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=304): time 5.911e-06/14.77, allocations: 1.438 kB / 4.892 GB, free: 68.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=304): time 0.007724/14.78, allocations: 3.137 MB / 4.896 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/14.78, allocations: 248.6 kB / 4.896 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/14.78, allocations: 1.119 MB / 4.897 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/14.78, allocations: 29.17 kB / 4.897 GB, free: 68.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/14.78, allocations: 1.231 MB / 4.898 GB, free: 67.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/14.78, allocations: 0.9919 MB / 4.899 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/14.78, allocations: 0 / 4.899 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001735/14.78, allocations: 424.5 kB / 4.899 GB, free: 66.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/14.78, allocations: 1.233 MB / 4.901 GB, free: 66.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/14.79, allocations: 1.752 MB / 4.902 GB, free: 66.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/14.79, allocations: 1.672 MB / 4.904 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/14.79, allocations: 5.281 kB / 4.904 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.008429/14.8, allocations: 3.51 MB / 4.907 GB, free: 66.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/14.8, allocations: 64.23 kB / 4.907 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/14.8, allocations: 10.47 kB / 4.907 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.216e-05/14.8, allocations: 26.42 kB / 4.908 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/14.8, allocations: 0.6272 MB / 4.908 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.347e-05/14.8, allocations: 26.81 kB / 4.908 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/14.81, allocations: 367 kB / 4.909 GB, free: 66.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/14.81, allocations: 119.2 kB / 4.909 GB, free: 66.08 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 (366): * Single equations (assignments): 364 * 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.0006107/14.81, allocations: 165.4 kB / 4.909 GB, free: 65.97 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008466/14.82, allocations: 3.106 MB / 4.912 GB, free: 65.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009795/14.82, allocations: 240.7 kB / 4.912 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00784/14.83, allocations: 3.473 MB / 4.915 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/14.83, allocations: 37.67 kB / 4.915 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/14.83, allocations: 0.6094 kB / 4.915 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005052/14.83, allocations: 3.068 MB / 4.918 GB, free: 64.99 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 postOpt removeSimpleEquations (simulation): time 0.01413/14.84, allocations: 6.979 MB / 4.925 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/14.84, allocations: 2.062 kB / 4.925 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/14.85, allocations: 0.604 MB / 4.926 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.501e-05/14.85, allocations: 14.25 kB / 4.926 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/14.85, allocations: 41.05 kB / 4.926 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/14.85, allocations: 15.38 kB / 4.926 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/14.85, allocations: 8.719 kB / 4.926 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007976/14.86, allocations: 5.418 MB / 4.931 GB, free: 63.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/14.86, allocations: 0.6875 MB / 4.932 GB, free: 63.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/14.86, allocations: 10.25 kB / 4.932 GB, free: 63.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/14.86, allocations: 224 kB / 4.932 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/14.86, allocations: 179.4 kB / 4.932 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/14.86, allocations: 101.8 kB / 4.932 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001509/14.86, allocations: 0.8475 MB / 4.933 GB, free: 63.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.01e-07/14.86, allocations: 0 / 4.933 GB, free: 63.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004785/14.87, allocations: 1.365 MB / 4.935 GB, free: 63.13 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.01636/14.88, allocations: 11.7 MB / 4.946 GB, free: 59.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00549/14.89, allocations: 3.185 MB / 4.949 GB, free: 59.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/14.89, allocations: 0 / 4.949 GB, free: 59.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/14.89, allocations: 1.603 MB / 4.951 GB, free: 59.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/14.9, allocations: 1.098 MB / 4.952 GB, free: 59.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/14.91, allocations: 6.571 MB / 4.958 GB, free: 57.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/14.91, allocations: 2.23 MB / 4.96 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004274/14.92, allocations: 1.002 MB / 4.961 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/14.92, allocations: 1.286 MB / 4.963 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/14.92, allocations: 0.625 kB / 4.963 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.178/15.1, allocations: 100.7 MB / 5.061 GB, free: 51.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/15.1, allocations: 177.1 kB / 5.061 GB, free: 51.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.857/20.96, allocations: 4 kB / 5.061 GB, free: 51.19 MB / 0.7292 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)