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.001368/0.001368, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001497/0.001497, allocations: 217.2 kB / 23.03 MB, free: 4.922 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.00418/0.00418, allocations: 293 kB / 313.5 MB, free: 2.598 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.87/1.87, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",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.002855/0.002855, allocations: 100.6 kB / 0.7403 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2121, allocations: 95.39 MB / 0.8334 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.8602/1.072, allocations: 261.9 MB / 1.089 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03491/1.107, allocations: 21.3 MB / 1.11 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/1.112, allocations: 107.6 kB / 1.11 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006259/1.118, allocations: 1.701 MB / 1.112 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02002/1.138, allocations: 6.392 MB / 1.118 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/1.148, allocations: 2.973 MB / 1.121 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01264/1.161, allocations: 7.431 MB / 1.128 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005498/1.167, allocations: 2.161 MB / 1.13 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00889/1.175, allocations: 3.005 MB / 1.133 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006744/1.182, allocations: 2.898 MB / 1.136 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001635/1.184, allocations: 344 kB / 1.136 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/1.198, allocations: 4.979 MB / 1.141 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003339/1.201, allocations: 1.5 MB / 1.143 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005567/1.207, allocations: 1.607 MB / 1.144 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01856/1.225, allocations: 6.776 MB / 1.151 GB, free: 13.38 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.225, allocations: 0 / 1.151 GB, free: 13.38 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/1.225, allocations: 0 / 1.151 GB, free: 13.38 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002412/1.226, allocations: 0 / 1.151 GB, free: 13.38 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.01421/1.24, allocations: 4.127 MB / 1.155 GB, free: 9.191 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/1.24, allocations: 9.938 kB / 1.155 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001087/1.24, allocations: 73.44 kB / 1.155 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/1.241, allocations: 392.1 kB / 1.155 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006228/1.248, allocations: 0.8681 MB / 1.156 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/1.252, allocations: 1.786 MB / 1.158 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/1.252, allocations: 205.4 kB / 1.158 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006112/1.253, allocations: 279.9 kB / 1.158 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00737/1.26, allocations: 3.93 MB / 1.162 GB, free: 1.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/1.26, allocations: 7.938 kB / 1.162 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/1.261, allocations: 116 kB / 1.162 GB, free: 1.277 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/1.261, allocations: 145.3 kB / 1.163 GB, free: 1.133 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006388/1.267, allocations: 3.292 MB / 1.166 GB, free: 13.83 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.01669/1.284, allocations: 9.009 MB / 1.175 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.288, allocations: 2.054 MB / 1.177 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/1.29, allocations: 1.258 MB / 1.178 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008372/1.291, allocations: 173.9 kB / 1.178 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002556/1.293, allocations: 1.556 MB / 1.179 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 5.52e-06/1.293, allocations: 0 / 1.179 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.00657/1.3, allocations: 3.177 MB / 1.183 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/1.3, allocations: 77.41 kB / 1.183 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.303, allocations: 1.46 MB / 1.184 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/1.303, allocations: 65.7 kB / 1.184 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/1.304, allocations: 1.137 MB / 1.185 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009891/1.305, allocations: 0.7707 MB / 1.186 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/1.306, allocations: 363.5 kB / 1.186 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.306, allocations: 305.1 kB / 1.187 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.308, allocations: 0.9348 MB / 1.188 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/1.31, allocations: 1.413 MB / 1.189 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/1.314, allocations: 2.321 MB / 1.191 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.314, allocations: 4 kB / 1.191 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005405/1.319, allocations: 2.639 MB / 1.194 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/1.319, allocations: 37.7 kB / 1.194 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/1.319, allocations: 8 kB / 1.194 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/1.319, allocations: 16 kB / 1.194 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.321, allocations: 472 kB / 1.194 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/1.321, allocations: 28.73 kB / 1.194 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.324, allocations: 186.6 kB / 1.194 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.324, allocations: 79.98 kB / 1.195 GB, free: 15.69 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.001947/1.326, allocations: 0.6846 MB / 1.195 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009171/1.327, allocations: 226.6 kB / 1.195 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00503/1.332, allocations: 2.515 MB / 1.198 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.332, allocations: 20 kB / 1.198 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.332, allocations: 3.938 kB / 1.198 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003897/1.336, allocations: 2.339 MB / 1.2 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.347, allocations: 5.126 MB / 1.205 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.347, allocations: 3.984 kB / 1.205 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/1.349, allocations: 475.7 kB / 1.206 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/1.349, allocations: 15.98 kB / 1.206 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/1.349, allocations: 55.98 kB / 1.206 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/1.349, allocations: 8 kB / 1.206 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/1.349, allocations: 7.938 kB / 1.206 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/1.356, allocations: 3.809 MB / 1.209 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.357, allocations: 494.2 kB / 1.21 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/1.358, allocations: 44 kB / 1.21 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.359, allocations: 64.77 kB / 1.21 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/1.36, allocations: 161.6 kB / 1.21 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.36, allocations: 71.97 kB / 1.21 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001662/1.362, allocations: 0.9866 MB / 1.211 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.362, allocations: 0 / 1.211 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002892/1.365, allocations: 0.9395 MB / 1.212 GB, free: 13.45 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.007301/1.372, allocations: 4.618 MB / 1.217 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004262/1.376, allocations: 2.26 MB / 1.219 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.376, allocations: 0 / 1.219 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/1.378, allocations: 1.139 MB / 1.22 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005815/1.384, allocations: 1.297 MB / 1.221 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/1.419, allocations: 18.73 MB / 1.24 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.421, allocations: 1.414 MB / 1.241 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002777/1.424, allocations: 0.7249 MB / 1.242 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/1.426, allocations: 1.097 MB / 1.243 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of SimCode: time 1.823e-06/1.426, allocations: 0 / 1.243 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/1.555, allocations: 71.61 MB / 1.313 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.78, allocations: 4.062 kB / 1.313 GB, free: 7.094 MB / 0.9512 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.13624299899675] Failed to read output from testmodel.py, exit status != 0: 18.987904774025083 19.013264549 17.782473119 Calling exit ...