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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 217.9 kB / 22.26 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9015/0.9015, allocations: 145 MB / 457.4 MB, free: 15.55 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 64.97 kB / 0.6332 GB, free: 7.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 87.88 MB / 0.719 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6645/0.8357, allocations: 300.1 MB / 1.012 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03319/0.8688, allocations: 23.31 MB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.8717, allocations: 99.25 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005143/0.8769, allocations: 1.896 MB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01606/0.8929, allocations: 6.434 MB / 1.043 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008019/0.9009, allocations: 2.995 MB / 1.046 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.9116, allocations: 7.447 MB / 1.053 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.9154, allocations: 2.157 MB / 1.055 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007164/0.9226, allocations: 3.001 MB / 1.058 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/0.9283, allocations: 2.892 MB / 1.061 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.9293, allocations: 344 kB / 1.061 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.9434, allocations: 6.445 MB / 1.068 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002626/0.946, allocations: 1.496 MB / 1.069 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003776/0.9498, allocations: 1.906 MB / 1.071 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4947/1.444, allocations: 7.165 MB / 1.078 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.444, allocations: 0 / 1.078 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/1.444, allocations: 0 / 1.078 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002513/1.445, allocations: 1.734 kB / 1.078 GB, free: 22.91 MB / 0.8419 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.01716/1.462, allocations: 4.129 MB / 1.082 GB, free: 21.24 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.462, allocations: 11 kB / 1.082 GB, free: 21.24 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/1.463, allocations: 393.3 kB / 1.083 GB, free: 21.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006998/1.47, allocations: 0.8549 MB / 1.083 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007036/1.477, allocations: 1.792 MB / 1.085 GB, free: 20.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/1.477, allocations: 210 kB / 1.085 GB, free: 20.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/1.479, allocations: 277.1 kB / 1.086 GB, free: 20.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008936/1.488, allocations: 3.598 MB / 1.089 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-05/1.488, allocations: 5.656 kB / 1.089 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003412/1.488, allocations: 113.5 kB / 1.089 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/1.488, allocations: 148.2 kB / 1.089 GB, free: 20.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007276/1.496, allocations: 3.29 MB / 1.093 GB, free: 20.12 MB / 0.8419 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.02109/1.517, allocations: 14.1 MB / 1.106 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/1.521, allocations: 2.068 MB / 1.108 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/1.523, allocations: 1.245 MB / 1.11 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/1.524, allocations: 187.5 kB / 1.11 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/1.526, allocations: 1.226 MB / 1.111 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=213): time 4.719e-06/1.526, allocations: 1 kB / 1.111 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=213): time 0.006022/1.532, allocations: 3.175 MB / 1.114 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.532, allocations: 75.38 kB / 1.114 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/1.534, allocations: 1.453 MB / 1.116 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/1.534, allocations: 66.11 kB / 1.116 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009656/1.535, allocations: 1.142 MB / 1.117 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007369/1.536, allocations: 0.7723 MB / 1.117 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005759/1.537, allocations: 356.2 kB / 1.118 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/1.537, allocations: 307 kB / 1.118 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.538, allocations: 0.919 MB / 1.119 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/1.54, allocations: 1.254 MB / 1.12 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/1.543, allocations: 2.318 MB / 1.122 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.543, allocations: 3.875 kB / 1.122 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004248/1.547, allocations: 2.613 MB / 1.125 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/1.547, allocations: 43.08 kB / 1.125 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.547, allocations: 6.531 kB / 1.125 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.547, allocations: 18.75 kB / 1.125 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.549, allocations: 463.4 kB / 1.126 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/1.549, allocations: 19.44 kB / 1.126 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/1.552, allocations: 195.4 kB / 1.126 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.552, allocations: 84.72 kB / 1.126 GB, free: 8.953 MB / 0.8419 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.001494/1.553, allocations: 0.683 MB / 1.126 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006475/1.554, allocations: 229 kB / 1.127 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/1.558, allocations: 2.53 MB / 1.129 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.558, allocations: 21.86 kB / 1.129 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/1.558, allocations: 0 / 1.129 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003063/1.561, allocations: 2.331 MB / 1.131 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/1.57, allocations: 5.518 MB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.57, allocations: 5.906 kB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.572, allocations: 476.4 kB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/1.572, allocations: 10.88 kB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/1.572, allocations: 52.89 kB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/1.572, allocations: 13.41 kB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.572, allocations: 3.062 kB / 1.137 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/1.578, allocations: 3.813 MB / 1.141 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.58, allocations: 484 kB / 1.142 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.58, allocations: 48.67 kB / 1.142 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.581, allocations: 64.06 kB / 1.142 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.582, allocations: 159.6 kB / 1.142 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.582, allocations: 69.41 kB / 1.142 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001509/1.583, allocations: 0.9871 MB / 1.143 GB, free: 23.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.583, allocations: 0.8125 kB / 1.143 GB, free: 23.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002395/1.586, allocations: 0.9433 MB / 1.144 GB, free: 22.87 MB / 0.8575 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.005893/1.592, allocations: 4.625 MB / 1.148 GB, free: 21.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003479/1.595, allocations: 2.232 MB / 1.15 GB, free: 21.81 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.595, allocations: 2.969 kB / 1.15 GB, free: 21.81 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.597, allocations: 1.146 MB / 1.152 GB, free: 21.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005827/1.602, allocations: 1.295 MB / 1.153 GB, free: 21.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/1.631, allocations: 18.64 MB / 1.171 GB, free: 16.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/1.633, allocations: 1.971 MB / 1.173 GB, free: 16.17 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002552/1.635, allocations: 0.7227 MB / 1.174 GB, free: 16.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.637, allocations: 1.093 MB / 1.175 GB, free: 16.03 MB / 0.8575 GB Notification: Performance of SimCode: time 2.235e-06/1.637, allocations: 5.094 kB / 1.175 GB, free: 16.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.768, allocations: 67.8 MB / 1.241 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/18.56, allocations: 10.06 kB / 1.241 GB, free: 4.531 MB / 0.9044 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.343322647000605] Failed to read output from testmodel.py, exit status != 0: 18.716117099000257 18.736631174 17.287568555 Calling exit ...