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.001534/0.001534, allocations: 112.2 kB / 16.46 MB, free: 6.453 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.001554/0.001554, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.337/1.337, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004517/0.004517, allocations: 298.2 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.503/1.503, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002701/0.002701, allocations: 107.3 kB / 0.7343 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1584, allocations: 95.34 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.6394/0.7978, allocations: 298.6 MB / 1.119 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03164/0.8294, allocations: 23.13 MB / 1.142 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003679/0.8331, allocations: 99.25 kB / 1.142 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005147/0.8382, allocations: 1.892 MB / 1.144 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.8538, allocations: 6.309 MB / 1.15 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007711/0.8615, allocations: 2.921 MB / 1.153 GB, free: 15.13 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.8716, allocations: 7.314 MB / 1.16 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004151/0.8758, allocations: 2.469 MB / 1.162 GB, free: 5.277 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007607/0.8834, allocations: 2.983 MB / 1.165 GB, free: 2.316 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.8887, allocations: 2.896 MB / 1.168 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.8898, allocations: 340 kB / 1.168 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/0.903, allocations: 6.336 MB / 1.174 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.9055, allocations: 1.496 MB / 1.176 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004139/0.9097, allocations: 1.914 MB / 1.178 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.924, allocations: 6.955 MB / 1.184 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.924, allocations: 0 / 1.184 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.924, allocations: 4 kB / 1.184 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001409/0.9242, allocations: 0 / 1.184 GB, free: 14.34 MB / 0.8262 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.01046/0.9346, allocations: 4.2 MB / 1.189 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9347, allocations: 12.03 kB / 1.189 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000507/0.9352, allocations: 392 kB / 1.189 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.9405, allocations: 0.8565 MB / 1.19 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.9439, allocations: 1.878 MB / 1.192 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.944, allocations: 209.4 kB / 1.192 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.9444, allocations: 276 kB / 1.192 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005964/0.9504, allocations: 3.593 MB / 1.196 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/0.9505, allocations: 11.94 kB / 1.196 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.9507, allocations: 116 kB / 1.196 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.9509, allocations: 149.2 kB / 1.196 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.9566, allocations: 3.288 MB / 1.199 GB, free: 15.09 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.01634/0.9729, allocations: 14.24 MB / 1.213 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.9767, allocations: 2.37 MB / 1.215 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.9787, allocations: 1.251 MB / 1.217 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.98, allocations: 1.374 MB / 1.218 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/0.9821, allocations: 1.226 MB / 1.219 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 3.427e-06/0.9821, allocations: 0 / 1.219 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.005954/0.988, allocations: 3.177 MB / 1.222 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.9881, allocations: 77.41 kB / 1.222 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.9901, allocations: 1.452 MB / 1.224 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.9902, allocations: 69.7 kB / 1.224 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.9913, allocations: 1.145 MB / 1.225 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008035/0.9921, allocations: 0.7707 MB / 1.226 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005995/0.9927, allocations: 355.6 kB / 1.226 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9929, allocations: 309.1 kB / 1.226 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.9944, allocations: 0.9136 MB / 1.227 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.9963, allocations: 1.258 MB / 1.228 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/1, allocations: 2.317 MB / 1.231 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1, allocations: 3.938 kB / 1.231 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004562/1.005, allocations: 2.614 MB / 1.233 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/1.005, allocations: 37.7 kB / 1.233 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.005, allocations: 4 kB / 1.233 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/1.005, allocations: 23.94 kB / 1.233 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.007, allocations: 463.6 kB / 1.234 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/1.007, allocations: 20 kB / 1.234 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.008, allocations: 210.4 kB / 1.234 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.009, allocations: 72 kB / 1.234 GB, free: 9.465 MB / 0.8731 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.001172/1.01, allocations: 0.6807 MB / 1.235 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/1.01, allocations: 222.6 kB / 1.235 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/1.015, allocations: 2.53 MB / 1.237 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.015, allocations: 24 kB / 1.237 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.015, allocations: 0 / 1.237 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003579/1.018, allocations: 2.332 MB / 1.24 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008699/1.027, allocations: 5.601 MB / 1.245 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.027, allocations: 4 kB / 1.245 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.029, allocations: 475.7 kB / 1.246 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/1.029, allocations: 12 kB / 1.246 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/1.029, allocations: 55.97 kB / 1.246 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/1.029, allocations: 15.94 kB / 1.246 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.029, allocations: 4.75 kB / 1.246 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/1.035, allocations: 3.807 MB / 1.249 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.036, allocations: 0.55 MB / 1.25 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/1.037, allocations: 40 kB / 1.25 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.038, allocations: 64.92 kB / 1.25 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/1.038, allocations: 157.7 kB / 1.25 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.039, allocations: 71.97 kB / 1.25 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00141/1.04, allocations: 0.9866 MB / 1.251 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/1.04, allocations: 0 / 1.251 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002096/1.042, allocations: 0.9357 MB / 1.252 GB, free: 6.641 MB / 0.8887 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.00669/1.049, allocations: 4.638 MB / 1.257 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003996/1.053, allocations: 2.231 MB / 1.259 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.053, allocations: 4 kB / 1.259 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/1.055, allocations: 1.145 MB / 1.26 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/1.06, allocations: 1.29 MB / 1.261 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/1.088, allocations: 18.64 MB / 1.279 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/1.09, allocations: 1.971 MB / 1.281 GB, free: 8.156 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002237/1.092, allocations: 0.7249 MB / 1.282 GB, free: 7.43 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/1.094, allocations: 1.093 MB / 1.283 GB, free: 6.336 MB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/1.094, allocations: 3.938 kB / 1.283 GB, free: 6.332 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/1.214, allocations: 66.05 MB / 1.348 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.25, allocations: 7.844 kB / 1.348 GB, free: 5.066 MB / 0.9825 GB " [Timeout remaining time 647] (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: 17.793483824003488] Failed to read output from testmodel.py, exit status != 0: 13.358863436616957 13.645518249 12.718624367 Calling exit ...