Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001447/0.001447, 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.002193/0.002193, allocations: 212.5 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005641/0.005641, allocations: 287.5 kB / 312.7 MB, free: 2.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.877/1.877, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002919/0.002919, allocations: 95.2 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2011, allocations: 95.39 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7493/0.9504, allocations: 262.1 MB / 1.089 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03406/0.9845, allocations: 21.34 MB / 1.109 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/0.9893, allocations: 104.8 kB / 1.11 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005754/0.995, allocations: 1.706 MB / 1.111 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02179/1.017, allocations: 6.39 MB / 1.117 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.027, allocations: 2.968 MB / 1.12 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01264/1.04, allocations: 7.367 MB / 1.128 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/1.044, allocations: 2.145 MB / 1.13 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008239/1.052, allocations: 3.015 MB / 1.133 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005997/1.058, allocations: 2.754 MB / 1.135 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/1.06, allocations: 344 kB / 1.136 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/1.072, allocations: 4.92 MB / 1.14 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002486/1.074, allocations: 1.504 MB / 1.142 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003955/1.078, allocations: 1.603 MB / 1.143 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/1.093, allocations: 6.783 MB / 1.15 GB, free: 13.48 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/1.093, allocations: 3.984 kB / 1.15 GB, free: 13.48 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.134e-06/1.093, allocations: 0 / 1.15 GB, free: 13.48 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001444/1.093, allocations: 4 kB / 1.15 GB, free: 13.47 MB / 0.795 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.01178/1.105, allocations: 4.118 MB / 1.154 GB, free: 9.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.105, allocations: 13.34 kB / 1.154 GB, free: 9.285 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007537/1.106, allocations: 392.1 kB / 1.155 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/1.112, allocations: 0.872 MB / 1.155 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/1.116, allocations: 1.775 MB / 1.157 GB, free: 6.191 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/1.116, allocations: 209.4 kB / 1.157 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/1.117, allocations: 275.9 kB / 1.158 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007303/1.124, allocations: 3.93 MB / 1.161 GB, free: 1.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.88e-05/1.124, allocations: 3.938 kB / 1.161 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/1.125, allocations: 120 kB / 1.162 GB, free: 1.461 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/1.125, allocations: 145.3 kB / 1.162 GB, free: 1.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/1.131, allocations: 3.28 MB / 1.165 GB, free: 14.02 MB / 0.8106 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.01677/1.148, allocations: 9.009 MB / 1.174 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/1.152, allocations: 2.057 MB / 1.176 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/1.154, allocations: 1.25 MB / 1.177 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007553/1.155, allocations: 173.9 kB / 1.177 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/1.157, allocations: 1.556 MB / 1.179 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 5.5e-06/1.157, allocations: 0 / 1.179 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.006195/1.163, allocations: 3.173 MB / 1.182 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/1.163, allocations: 81.41 kB / 1.182 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/1.166, allocations: 1.464 MB / 1.183 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003044/1.166, allocations: 69.7 kB / 1.183 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.167, allocations: 1.141 MB / 1.184 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.168, allocations: 0.7746 MB / 1.185 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005907/1.169, allocations: 363.5 kB / 1.185 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.169, allocations: 305.1 kB / 1.186 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/1.171, allocations: 0.9348 MB / 1.187 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/1.173, allocations: 1.41 MB / 1.188 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/1.177, allocations: 2.325 MB / 1.19 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/1.177, allocations: 0 / 1.19 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005094/1.182, allocations: 2.64 MB / 1.193 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/1.182, allocations: 41.64 kB / 1.193 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.182, allocations: 12.12 kB / 1.193 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-05/1.182, allocations: 16 kB / 1.193 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.184, allocations: 463.3 kB / 1.193 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/1.184, allocations: 29.41 kB / 1.193 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/1.186, allocations: 194.6 kB / 1.194 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.186, allocations: 83.92 kB / 1.194 GB, free: 15.87 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.001473/1.188, allocations: 0.6846 MB / 1.194 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006073/1.188, allocations: 222.6 kB / 1.195 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/1.193, allocations: 2.516 MB / 1.197 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.193, allocations: 20 kB / 1.197 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.193, allocations: 0 / 1.197 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003673/1.197, allocations: 2.339 MB / 1.199 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009812/1.207, allocations: 5.121 MB / 1.204 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.207, allocations: 4 kB / 1.204 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/1.209, allocations: 476.8 kB / 1.205 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.782e-05/1.209, allocations: 19.97 kB / 1.205 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/1.209, allocations: 55.98 kB / 1.205 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/1.209, allocations: 8 kB / 1.205 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.209, allocations: 4 kB / 1.205 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006348/1.216, allocations: 3.811 MB / 1.209 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.217, allocations: 486.1 kB / 1.209 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/1.218, allocations: 40 kB / 1.209 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.219, allocations: 68.83 kB / 1.209 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.219, allocations: 157.6 kB / 1.209 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.219, allocations: 75.91 kB / 1.209 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001459/1.221, allocations: 0.9866 MB / 1.21 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.221, allocations: 8 kB / 1.21 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002302/1.223, allocations: 0.9395 MB / 1.211 GB, free: 13.63 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.006921/1.23, allocations: 4.614 MB / 1.216 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00399/1.234, allocations: 2.267 MB / 1.218 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.234, allocations: 1.688 kB / 1.218 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/1.236, allocations: 1.14 MB / 1.219 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/1.242, allocations: 1.278 MB / 1.22 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/1.273, allocations: 18.74 MB / 1.239 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.274, allocations: 1.418 MB / 1.24 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002736/1.277, allocations: 0.7171 MB / 1.241 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.279, allocations: 1.097 MB / 1.242 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of SimCode: time 1.704e-06/1.279, allocations: 0 / 1.242 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/1.413, allocations: 71.6 MB / 1.312 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/16.29, allocations: 11.42 kB / 1.312 GB, free: 7.289 MB / 0.9512 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.541711975820363] Failed to read output from testmodel.py, exit status != 0: 16.442175309173763 16.461538601 15.364170524 Calling exit ...