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.001405/0.001405, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001671/0.001671, allocations: 219.8 kB / 23.04 MB, free: 5.074 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: 8.035 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.006875/0.006875, allocations: 287.1 kB / 313.5 MB, free: 2.832 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.788/1.788, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.00282/0.00282, allocations: 105.6 kB / 0.7404 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2016, allocations: 95.38 MB / 0.8335 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.8427/1.044, allocations: 299.7 MB / 1.126 GB, free: 15.15 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.04437/1.089, allocations: 23.23 MB / 1.149 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005028/1.094, allocations: 103.2 kB / 1.149 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006516/1.1, allocations: 1.904 MB / 1.151 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01879/1.119, allocations: 6.444 MB / 1.157 GB, free: 15.38 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009497/1.128, allocations: 2.988 MB / 1.16 GB, free: 12.39 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01466/1.143, allocations: 7.44 MB / 1.167 GB, free: 4.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006613/1.15, allocations: 2.173 MB / 1.169 GB, free: 2.703 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/1.161, allocations: 2.983 MB / 1.172 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008236/1.169, allocations: 2.907 MB / 1.175 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002139/1.171, allocations: 340 kB / 1.176 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02146/1.193, allocations: 6.445 MB / 1.182 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003872/1.197, allocations: 1.496 MB / 1.183 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006173/1.203, allocations: 1.906 MB / 1.185 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/1.22, allocations: 6.955 MB / 1.192 GB, free: 11.66 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.22, allocations: 0 / 1.192 GB, free: 11.66 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.813e-06/1.22, allocations: 4 kB / 1.192 GB, free: 11.65 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0002238/1.22, allocations: 0 / 1.192 GB, free: 11.65 MB / 0.8263 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.01446/1.235, allocations: 4.127 MB / 1.196 GB, free: 7.465 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/1.235, allocations: 13.34 kB / 1.196 GB, free: 7.453 MB / 0.8263 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001241/1.235, allocations: 69.44 kB / 1.196 GB, free: 7.383 MB / 0.8263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001345/1.236, allocations: 392 kB / 1.196 GB, free: 6.992 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006389/1.243, allocations: 0.8681 MB / 1.197 GB, free: 6.121 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/1.248, allocations: 1.779 MB / 1.199 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/1.248, allocations: 209.4 kB / 1.199 GB, free: 4.086 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009557/1.249, allocations: 283.9 kB / 1.2 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008522/1.257, allocations: 3.597 MB / 1.203 GB, free: 88 kB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/1.257, allocations: 11.94 kB / 1.203 GB, free: 76 kB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/1.258, allocations: 112 kB / 1.203 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/1.258, allocations: 149.3 kB / 1.203 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/1.265, allocations: 3.28 MB / 1.206 GB, free: 12.52 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.02403/1.289, allocations: 14.09 MB / 1.22 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/1.293, allocations: 2.076 MB / 1.222 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/1.295, allocations: 1.239 MB / 1.223 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007704/1.296, allocations: 193.8 kB / 1.224 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002287/1.299, allocations: 1.226 MB / 1.225 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 4.138e-06/1.299, allocations: 0 / 1.225 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.006362/1.305, allocations: 3.173 MB / 1.228 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/1.305, allocations: 81.41 kB / 1.228 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/1.307, allocations: 1.456 MB / 1.229 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/1.307, allocations: 69.7 kB / 1.23 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/1.309, allocations: 1.145 MB / 1.231 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009372/1.31, allocations: 0.7668 MB / 1.231 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/1.31, allocations: 359.5 kB / 1.232 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.31, allocations: 305.1 kB / 1.232 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/1.312, allocations: 0.9097 MB / 1.233 GB, free: 156 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/1.314, allocations: 1.255 MB / 1.234 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.318, allocations: 2.329 MB / 1.236 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.318, allocations: 4.812 kB / 1.236 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005043/1.323, allocations: 2.61 MB / 1.239 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/1.323, allocations: 33.7 kB / 1.239 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.323, allocations: 11.94 kB / 1.239 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/1.323, allocations: 16 kB / 1.239 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.325, allocations: 472 kB / 1.239 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.402e-05/1.325, allocations: 23.92 kB / 1.24 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.327, allocations: 194.5 kB / 1.24 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.328, allocations: 84.05 kB / 1.24 GB, free: 8.887 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.001418/1.329, allocations: 0.6846 MB / 1.24 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/1.329, allocations: 230.6 kB / 1.241 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/1.334, allocations: 2.519 MB / 1.243 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/1.334, allocations: 20 kB / 1.243 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.334, allocations: 4 kB / 1.243 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00371/1.338, allocations: 2.332 MB / 1.245 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.348, allocations: 5.509 MB / 1.251 GB, free: 13.41 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.348, allocations: 320 / 1.251 GB, free: 13.41 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/1.35, allocations: 475.4 kB / 1.251 GB, free: 12.95 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/1.35, allocations: 12 kB / 1.251 GB, free: 12.93 MB / 0.8888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.351, allocations: 55.97 kB / 1.251 GB, free: 12.88 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/1.351, allocations: 11.94 kB / 1.251 GB, free: 12.87 MB / 0.8888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.351, allocations: 8 kB / 1.251 GB, free: 12.86 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00641/1.357, allocations: 3.811 MB / 1.255 GB, free: 9.004 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.359, allocations: 478 kB / 1.256 GB, free: 8.535 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/1.359, allocations: 48 kB / 1.256 GB, free: 8.488 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.36, allocations: 67.91 kB / 1.256 GB, free: 8.422 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/1.361, allocations: 157.6 kB / 1.256 GB, free: 8.266 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.361, allocations: 71.97 kB / 1.256 GB, free: 8.195 MB / 0.8888 GB Notification: Performance of sorting global known variables: time 0.001578/1.362, allocations: 0.9866 MB / 1.257 GB, free: 7.215 MB / 0.8888 GB Notification: Performance of sort global known variables: time 9.1e-08/1.362, allocations: 3.938 kB / 1.257 GB, free: 7.211 MB / 0.8888 GB Notification: Performance of remove unused functions: time 0.002662/1.365, allocations: 0.9396 MB / 1.258 GB, free: 6.27 MB / 0.8888 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.007263/1.372, allocations: 4.613 MB / 1.262 GB, free: 1.605 MB / 0.8888 GB Notification: Performance of simCode: created initialization part: time 0.004205/1.377, allocations: 2.236 MB / 1.264 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.377, allocations: 4 kB / 1.264 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/1.379, allocations: 1.148 MB / 1.266 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006335/1.385, allocations: 1.285 MB / 1.267 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/1.418, allocations: 18.63 MB / 1.285 GB, free: 9.816 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/1.42, allocations: 1.979 MB / 1.287 GB, free: 7.801 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002757/1.422, allocations: 0.7171 MB / 1.288 GB, free: 7.082 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.424, allocations: 1.101 MB / 1.289 GB, free: 5.98 MB / 0.92 GB Notification: Performance of SimCode: time 1.613e-06/1.424, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.557, allocations: 67.71 MB / 1.355 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.08/18.63, allocations: 19.8 kB / 1.355 GB, free: 2.945 MB / 0.9825 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.274981738999486] Failed to read output from testmodel.py, exit status != 0: 18.841004554007668 19.292650517 18.069785029 Calling exit ...