Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001345/0.001345, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001552/0.001552, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.119/3.119, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002007/0.002007, allocations: 70.95 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3618, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3324/0.6942, allocations: 262.2 MB / 1.581 GB, free: 11.16 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03379/0.728, allocations: 21.34 MB / 1.602 GB, free: 5.766 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.731, allocations: 103.2 kB / 1.602 GB, free: 5.664 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005006/0.736, allocations: 1.709 MB / 1.604 GB, free: 3.945 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.8125/1.549, allocations: 6.366 MB / 1.61 GB, free: 6.57 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008947/1.558, allocations: 2.96 MB / 1.613 GB, free: 6.57 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01221/1.57, allocations: 7.376 MB / 1.62 GB, free: 6.559 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/1.575, allocations: 2.131 MB / 1.622 GB, free: 6.41 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009814/1.585, allocations: 3.27 MB / 1.625 GB, free: 6.406 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006632/1.591, allocations: 2.717 MB / 1.628 GB, free: 6.406 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/1.592, allocations: 342.3 kB / 1.628 GB, free: 6.406 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/1.606, allocations: 4.899 MB / 1.633 GB, free: 6.406 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002966/1.609, allocations: 1.493 MB / 1.635 GB, free: 6.406 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004486/1.613, allocations: 1.605 MB / 1.636 GB, free: 6.406 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01459/1.628, allocations: 6.79 MB / 1.643 GB, free: 5.973 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.628, allocations: 0 / 1.643 GB, free: 5.973 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.575e-06/1.628, allocations: 0.8125 kB / 1.643 GB, free: 5.973 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001315/1.628, allocations: 0 / 1.643 GB, free: 5.973 MB / 1.295 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.01099/1.639, allocations: 4.115 MB / 1.647 GB, free: 20.29 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.639, allocations: 12.03 kB / 1.647 GB, free: 20.29 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004718/1.639, allocations: 392.7 kB / 1.647 GB, free: 20.24 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/1.645, allocations: 0.8638 MB / 1.648 GB, free: 20.05 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/1.649, allocations: 1.78 MB / 1.65 GB, free: 19.58 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/1.649, allocations: 210.5 kB / 1.65 GB, free: 19.57 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/1.649, allocations: 281.1 kB / 1.65 GB, free: 19.57 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005595/1.655, allocations: 3.929 MB / 1.654 GB, free: 18.8 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/1.655, allocations: 9.609 kB / 1.654 GB, free: 18.8 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/1.655, allocations: 116.2 kB / 1.654 GB, free: 18.8 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/1.655, allocations: 142.9 kB / 1.654 GB, free: 18.8 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004952/1.66, allocations: 3.276 MB / 1.658 GB, free: 18.77 MB / 1.311 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.01354/1.674, allocations: 9.026 MB / 1.666 GB, free: 15.8 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.677, allocations: 2.058 MB / 1.668 GB, free: 15.75 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/1.678, allocations: 1.253 MB / 1.67 GB, free: 15.73 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/1.679, allocations: 178.7 kB / 1.67 GB, free: 15.72 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/1.681, allocations: 1.553 MB / 1.671 GB, free: 15.24 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.86e-06/1.681, allocations: 2 kB / 1.671 GB, free: 15.24 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005153/1.686, allocations: 3.175 MB / 1.674 GB, free: 15.04 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.686, allocations: 74.84 kB / 1.674 GB, free: 14.98 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.688, allocations: 1.47 MB / 1.676 GB, free: 14.8 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.688, allocations: 68.7 kB / 1.676 GB, free: 14.77 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008024/1.689, allocations: 1.138 MB / 1.677 GB, free: 14.29 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/1.689, allocations: 0.7663 MB / 1.678 GB, free: 13.78 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/1.69, allocations: 363 kB / 1.678 GB, free: 13.75 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.69, allocations: 305.9 kB / 1.678 GB, free: 13.45 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.691, allocations: 0.947 MB / 1.679 GB, free: 13.41 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.693, allocations: 1.406 MB / 1.681 GB, free: 12.91 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/1.696, allocations: 2.322 MB / 1.683 GB, free: 12.58 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.696, allocations: 2.375 kB / 1.683 GB, free: 12.58 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003918/1.7, allocations: 2.642 MB / 1.686 GB, free: 12.33 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/1.7, allocations: 34.67 kB / 1.686 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.7, allocations: 8.594 kB / 1.686 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/1.7, allocations: 18.12 kB / 1.686 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/1.702, allocations: 465.4 kB / 1.686 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/1.702, allocations: 19.78 kB / 1.686 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.704, allocations: 201.6 kB / 1.686 GB, free: 12.19 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.704, allocations: 78.56 kB / 1.686 GB, free: 12.19 MB / 1.311 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.001181/1.705, allocations: 0.6867 MB / 1.687 GB, free: 12.07 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/1.706, allocations: 223.6 kB / 1.687 GB, free: 11.95 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/1.71, allocations: 2.525 MB / 1.69 GB, free: 11.82 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.71, allocations: 23.19 kB / 1.69 GB, free: 11.82 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.71, allocations: 2.109 kB / 1.69 GB, free: 11.82 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003218/1.713, allocations: 2.327 MB / 1.692 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/1.721, allocations: 5.123 MB / 1.697 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/1.721, allocations: 9.75 kB / 1.697 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.723, allocations: 472.3 kB / 1.697 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/1.723, allocations: 11.59 kB / 1.698 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.723, allocations: 58.77 kB / 1.698 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/1.723, allocations: 12.03 kB / 1.698 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.723, allocations: 3 kB / 1.698 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/1.729, allocations: 3.81 MB / 1.701 GB, free: 10.51 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.73, allocations: 487.3 kB / 1.702 GB, free: 10.36 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/1.73, allocations: 48.69 kB / 1.702 GB, free: 10.36 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.732, allocations: 59.44 kB / 1.702 GB, free: 10.36 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/1.732, allocations: 161.6 kB / 1.702 GB, free: 10.35 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.732, allocations: 74.92 kB / 1.702 GB, free: 10.35 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001232/1.734, allocations: 0.9855 MB / 1.703 GB, free: 10.24 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/1.734, allocations: 3.625 kB / 1.703 GB, free: 10.24 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002106/1.736, allocations: 0.9418 MB / 1.704 GB, free: 10.1 MB / 1.311 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.742, allocations: 4.624 MB / 1.708 GB, free: 9.125 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003294/1.745, allocations: 2.258 MB / 1.711 GB, free: 8.988 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/1.745, allocations: 3.062 kB / 1.711 GB, free: 8.988 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.746, allocations: 1.15 MB / 1.712 GB, free: 8.98 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.752, allocations: 1.289 MB / 1.713 GB, free: 8.801 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/1.78, allocations: 18.73 MB / 1.731 GB, free: 1.988 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/1.781, allocations: 1.414 MB / 1.733 GB, free: 1.648 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002801/1.784, allocations: 0.7256 MB / 1.733 GB, free: 1.512 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/1.786, allocations: 1.092 MB / 1.735 GB, free: 0.6641 MB / 1.311 GB Notification: Performance of SimCode: time 1.292e-06/1.786, allocations: 4 kB / 1.735 GB, free: 0.6602 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/1.914, allocations: 71.59 MB / 1.804 GB, free: 2.863 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.98, allocations: 6.984 kB / 1.804 GB, free: 2.859 MB / 1.373 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.672845717985183] Failed to read output from testmodel.py, exit status != 0: 17.144032454118133 17.175906862 15.542662389 Calling exit ...