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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008511, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009538/0.0009538, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.058/1.058, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003472, allocations: 12 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 83.41 MB / 0.5975 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 1.023/1.188, allocations: 269 MB / 0.8603 GB, free: 9.453 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02498/1.213, allocations: 21.57 MB / 0.8813 GB, free: 9.238 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/1.217, allocations: 63.06 kB / 0.8814 GB, free: 9.238 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004039/1.221, allocations: 1.177 MB / 0.8825 GB, free: 9.219 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/1.233, allocations: 4.459 MB / 0.8869 GB, free: 9.031 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007091/1.24, allocations: 2.054 MB / 0.8889 GB, free: 8.977 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01233/1.253, allocations: 8.954 MB / 0.8976 GB, free: 8.961 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005556/1.258, allocations: 2.249 MB / 0.8998 GB, free: 24.67 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008766/1.267, allocations: 2.357 MB / 0.9021 GB, free: 24.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008232/1.275, allocations: 2.622 MB / 0.9047 GB, free: 24.65 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001826/1.277, allocations: 166.5 kB / 0.9049 GB, free: 24.65 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/1.292, allocations: 3.132 MB / 0.9079 GB, free: 24.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004268/1.297, allocations: 1.278 MB / 0.9092 GB, free: 24.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004123/1.301, allocations: 0.6752 MB / 0.9098 GB, free: 24.56 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01384/1.315, allocations: 4.864 MB / 0.9146 GB, free: 24.2 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.315, allocations: 0 / 0.9146 GB, free: 24.2 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.814e-06/1.315, allocations: 4.844 kB / 0.9146 GB, free: 24.2 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003287/1.315, allocations: 0 / 0.9146 GB, free: 24.2 MB / 0.6856 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.01576/1.331, allocations: 3.532 MB / 0.918 GB, free: 22.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.331, allocations: 8.781 kB / 0.918 GB, free: 22.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001757/1.333, allocations: 392.7 kB / 0.9184 GB, free: 22.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/1.34, allocations: 0.8471 MB / 0.9192 GB, free: 22.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00647/1.346, allocations: 1.856 MB / 0.9211 GB, free: 21.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/1.347, allocations: 213.1 kB / 0.9213 GB, free: 21.87 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/1.348, allocations: 274.8 kB / 0.9215 GB, free: 21.87 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/1.359, allocations: 3.585 MB / 0.925 GB, free: 20.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/1.359, allocations: 13.83 kB / 0.925 GB, free: 20.86 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008372/1.36, allocations: 118.6 kB / 0.9251 GB, free: 20.86 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/1.36, allocations: 145.7 kB / 0.9253 GB, free: 20.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008107/1.368, allocations: 3.288 MB / 0.9285 GB, free: 20.27 MB / 0.6856 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.02182/1.39, allocations: 14.19 MB / 0.9423 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003878/1.394, allocations: 2.504 MB / 0.9448 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/1.396, allocations: 1.368 MB / 0.9461 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/1.397, allocations: 1.379 MB / 0.9475 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/1.399, allocations: 1.239 MB / 0.9487 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=216): time 4.979e-06/1.4, allocations: 0 / 0.9487 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216): time 0.005866/1.405, allocations: 3.212 MB / 0.9518 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.405, allocations: 75.22 kB / 0.9519 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/1.408, allocations: 1.443 MB / 0.9533 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.408, allocations: 67.11 kB / 0.9534 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009265/1.409, allocations: 1.114 MB / 0.9545 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007744/1.41, allocations: 0.7442 MB / 0.9552 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.41, allocations: 46.75 kB / 0.9552 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.41, allocations: 384.7 kB / 0.9556 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/1.412, allocations: 0.9182 MB / 0.9565 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/1.414, allocations: 1.282 MB / 0.9577 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/1.415, allocations: 1.13 MB / 0.9588 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.415, allocations: 5.438 kB / 0.9589 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004519/1.42, allocations: 2.613 MB / 0.9614 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/1.42, allocations: 36.64 kB / 0.9614 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.42, allocations: 6.688 kB / 0.9614 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.787e-05/1.42, allocations: 23.33 kB / 0.9615 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/1.422, allocations: 487.6 kB / 0.9619 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-05/1.422, allocations: 18.09 kB / 0.9619 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/1.425, allocations: 406.8 kB / 0.9623 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/1.426, allocations: 79.98 kB / 0.9624 GB, free: 3.285 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * 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.001494/1.427, allocations: 0.6857 MB / 0.9631 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/1.428, allocations: 214.7 kB / 0.9633 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/1.433, allocations: 2.559 MB / 0.9658 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/1.433, allocations: 24 kB / 0.9658 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.433, allocations: 3.953 kB / 0.9658 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003928/1.437, allocations: 2.359 MB / 0.9681 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.45, allocations: 5.645 MB / 0.9736 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.45, allocations: 8.031 kB / 0.9736 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.453, allocations: 487.5 kB / 0.9741 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.746e-05/1.453, allocations: 12 kB / 0.9741 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.453, allocations: 62.09 kB / 0.9742 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-05/1.453, allocations: 10.44 kB / 0.9742 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.453, allocations: 4 kB / 0.9742 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/1.46, allocations: 3.838 MB / 0.9779 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.463, allocations: 0.5548 MB / 0.9785 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008537/1.463, allocations: 39.62 kB / 0.9785 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.466, allocations: 244.3 kB / 0.9787 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.467, allocations: 154 kB / 0.9789 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.467, allocations: 76.28 kB / 0.979 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002187/1.469, allocations: 0.9705 MB / 0.9799 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.7e-07/1.469, allocations: 5.859 kB / 0.9799 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00452/1.474, allocations: 0.944 MB / 0.9808 GB, free: 6.512 MB / 0.7012 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 (220): * Single equations (assignments): 218 * 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.01006/1.484, allocations: 4.702 MB / 0.9854 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00545/1.489, allocations: 2.356 MB / 0.9877 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.489, allocations: 0 / 0.9877 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/1.492, allocations: 1.235 MB / 0.9889 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008171/1.5, allocations: 1.258 MB / 0.9902 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0403/1.54, allocations: 16.6 MB / 1.006 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/1.543, allocations: 1.977 MB / 1.008 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004286/1.548, allocations: 0.7337 MB / 1.009 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/1.55, allocations: 1.1 MB / 1.01 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/1.55, allocations: 0 / 1.01 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.685, allocations: 65.97 MB / 1.075 GB, free: 13.03 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.686, allocations: 239.2 kB / 1.075 GB, free: 12.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.757/5.443, allocations: 0 / 1.075 GB, free: 12.79 MB / 0.795 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) Environment - environmentSimulation: