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.7278/0.7278, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001075/0.001075, allocations: 180.4 kB / 173.7 MB, free: 6.105 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.699/1.699, allocations: 205.4 MB / 409 MB, free: 10.49 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.001054/0.001054, allocations: 87.52 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003898, allocations: 8.094 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.907/6.077, allocations: 2.171 GB / 2.807 GB, free: 203.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/6.078, allocations: 91.62 kB / 2.807 GB, free: 203.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.479/13.56, allocations: 2.084 GB / 4.891 GB, free: 48.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.224e-06/13.56, allocations: 0.5625 kB / 4.891 GB, free: 48.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002392/13.56, allocations: 87.56 kB / 4.891 GB, free: 48.17 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.01587/13.57, allocations: 4.456 MB / 4.895 GB, free: 46.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/13.57, allocations: 9.906 kB / 4.895 GB, free: 46.64 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/13.57, allocations: 459.8 kB / 4.896 GB, free: 46.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006465/13.58, allocations: 0.8878 MB / 4.897 GB, free: 46.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/13.59, allocations: 2.083 MB / 4.899 GB, free: 45.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/13.59, allocations: 249.8 kB / 4.899 GB, free: 45.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007216/13.59, allocations: 336.6 kB / 4.899 GB, free: 45.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/13.59, allocations: 4.19 MB / 4.903 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.371e-05/13.59, allocations: 10 kB / 4.903 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/13.59, allocations: 139.3 kB / 4.904 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/13.59, allocations: 151.2 kB / 4.904 GB, free: 45.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006173/13.6, allocations: 4.185 MB / 4.908 GB, free: 45.44 MB / 0.7292 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.02014/13.62, allocations: 17.4 MB / 4.925 GB, free: 36.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/13.63, allocations: 3.263 MB / 4.928 GB, free: 36.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/13.63, allocations: 1.623 MB / 4.93 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0025/13.63, allocations: 1.848 MB / 4.931 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=304): time 4.598e-06/13.63, allocations: 2.953 kB / 4.931 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=304): time 0.007214/13.64, allocations: 4.365 MB / 4.936 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/13.64, allocations: 237.9 kB / 4.936 GB, free: 34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/13.64, allocations: 1.438 MB / 4.937 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/13.64, allocations: 86.3 kB / 4.937 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009786/13.64, allocations: 1.222 MB / 4.939 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009067/13.64, allocations: 1.038 MB / 4.94 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/13.64, allocations: 56.12 kB / 4.94 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001888/13.64, allocations: 425 kB / 4.94 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/13.64, allocations: 1.286 MB / 4.941 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/13.65, allocations: 1.82 MB / 4.943 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/13.65, allocations: 1.615 MB / 4.945 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/13.65, allocations: 2.781 kB / 4.945 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.005599/13.65, allocations: 3.62 MB / 4.948 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/13.65, allocations: 69.28 kB / 4.948 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/13.65, allocations: 15.84 kB / 4.948 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/13.65, allocations: 21.94 kB / 4.948 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/13.66, allocations: 0.6128 MB / 4.949 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-05/13.66, allocations: 30.12 kB / 4.949 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/13.66, allocations: 449.2 kB / 4.949 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/13.66, allocations: 112.2 kB / 4.949 GB, free: 31.18 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 () * Number of clocked 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.002171/13.66, allocations: 0.8157 MB / 4.95 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008674/13.66, allocations: 259.8 kB / 4.951 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/13.67, allocations: 3.538 MB / 4.954 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/13.67, allocations: 27.94 kB / 4.954 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/13.67, allocations: 3.812 kB / 4.954 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004182/13.67, allocations: 3.07 MB / 4.957 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/13.69, allocations: 7.161 MB / 4.964 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/13.69, allocations: 0 / 4.964 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/13.69, allocations: 0.5939 MB / 4.965 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.46e-05/13.69, allocations: 17.31 kB / 4.965 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/13.69, allocations: 71.59 kB / 4.965 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/13.69, allocations: 13.44 kB / 4.965 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/13.69, allocations: 5.844 kB / 4.965 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00784/13.7, allocations: 5.438 MB / 4.97 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/13.7, allocations: 0.6953 MB / 4.971 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007617/13.7, allocations: 58.03 kB / 4.971 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/13.71, allocations: 264.8 kB / 4.971 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/13.71, allocations: 186.8 kB / 4.971 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/13.71, allocations: 95.98 kB / 4.971 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002094/13.71, allocations: 1.12 MB / 4.972 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.7e-07/13.71, allocations: 0 / 4.972 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005301/13.71, allocations: 1.568 MB / 4.974 GB, free: 28.35 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) * Number of clocked states: 0 () * 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.01591/13.73, allocations: 11.29 MB / 4.985 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006717/13.74, allocations: 3.295 MB / 4.988 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/13.74, allocations: 2.656 kB / 4.988 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003035/13.74, allocations: 1.651 MB / 4.99 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006775/13.75, allocations: 1.33 MB / 4.991 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/13.76, allocations: 16.27 MB / 5.007 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/13.77, allocations: 2.234 MB / 5.009 GB, free: 29.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003938/13.77, allocations: 1.013 MB / 5.01 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/13.77, allocations: 1.287 MB / 5.011 GB, free: 29.28 MB / 0.7448 GB Notification: Performance of SimCode: time 1.452e-06/13.77, allocations: 0 / 5.011 GB, free: 29.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6868/14.46, allocations: 136 MB / 5.144 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/14.46, allocations: 224.6 kB / 5.144 GB, free: 50.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/21.3, allocations: 0 / 5.144 GB, free: 50.33 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)