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.001341/0.001341, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001534/0.001534, allocations: 217.8 kB / 22.26 MB, free: 5.113 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 8.012 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.004107/0.004107, allocations: 283.5 kB / 312.7 MB, free: 2.824 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.575/1.575, allocations: 180.6 MB / 0.5369 GB, free: 12.9 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.002784/0.002784, allocations: 104 kB / 0.7396 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.183, allocations: 95.39 MB / 0.8328 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7696/0.9527, allocations: 299.7 MB / 1.125 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03522/0.9879, allocations: 23.24 MB / 1.148 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00505/0.9929, allocations: 99.25 kB / 1.148 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006449/0.9994, allocations: 1.896 MB / 1.15 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02031/1.02, allocations: 6.443 MB / 1.156 GB, free: 15.37 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00943/1.029, allocations: 2.992 MB / 1.159 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01195/1.041, allocations: 7.451 MB / 1.167 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005236/1.046, allocations: 2.173 MB / 1.169 GB, free: 2.684 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/1.057, allocations: 2.992 MB / 1.172 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006041/1.063, allocations: 2.886 MB / 1.174 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/1.064, allocations: 344 kB / 1.175 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/1.079, allocations: 6.445 MB / 1.181 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003314/1.083, allocations: 1.496 MB / 1.183 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005375/1.088, allocations: 1.906 MB / 1.184 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/1.106, allocations: 6.955 MB / 1.191 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.106, allocations: 4 kB / 1.191 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/1.106, allocations: 4 kB / 1.191 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002162/1.106, allocations: 0 / 1.191 GB, free: 11.63 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.01488/1.121, allocations: 4.127 MB / 1.195 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.121, allocations: 9.344 kB / 1.195 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/1.122, allocations: 392.1 kB / 1.196 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/1.128, allocations: 0.8642 MB / 1.196 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/1.133, allocations: 1.786 MB / 1.198 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/1.134, allocations: 205.4 kB / 1.198 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009389/1.135, allocations: 276 kB / 1.199 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008984/1.144, allocations: 3.597 MB / 1.202 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/1.144, allocations: 4 kB / 1.202 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005986/1.144, allocations: 120 kB / 1.202 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/1.144, allocations: 153.3 kB / 1.202 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007472/1.152, allocations: 3.28 MB / 1.206 GB, free: 12.58 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.02246/1.174, allocations: 14.09 MB / 1.219 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/1.179, allocations: 2.071 MB / 1.221 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/1.181, allocations: 1.251 MB / 1.223 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008086/1.182, allocations: 193.8 kB / 1.223 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/1.184, allocations: 1.218 MB / 1.224 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 4.819e-06/1.184, allocations: 0 / 1.224 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.006495/1.191, allocations: 3.177 MB / 1.227 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/1.191, allocations: 73.41 kB / 1.227 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.193, allocations: 1.464 MB / 1.229 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/1.194, allocations: 69.7 kB / 1.229 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.195, allocations: 1.137 MB / 1.23 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009104/1.196, allocations: 0.7707 MB / 1.231 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007063/1.196, allocations: 359.5 kB / 1.231 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.196, allocations: 305.1 kB / 1.231 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/1.198, allocations: 0.9097 MB / 1.232 GB, free: 216 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/1.2, allocations: 1.26 MB / 1.233 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/1.204, allocations: 2.322 MB / 1.236 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/1.204, allocations: 4 kB / 1.236 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004907/1.209, allocations: 2.614 MB / 1.238 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/1.209, allocations: 37.64 kB / 1.238 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.209, allocations: 8 kB / 1.238 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.537e-05/1.209, allocations: 16 kB / 1.238 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/1.211, allocations: 471.7 kB / 1.239 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.094e-05/1.211, allocations: 19.94 kB / 1.239 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.213, allocations: 194.5 kB / 1.239 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.213, allocations: 79.98 kB / 1.239 GB, free: 8.953 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.001479/1.215, allocations: 0.6884 MB / 1.24 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000706/1.216, allocations: 222.7 kB / 1.24 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/1.221, allocations: 2.53 MB / 1.242 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.221, allocations: 20 kB / 1.242 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.221, allocations: 0 / 1.242 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003704/1.224, allocations: 2.336 MB / 1.245 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.236, allocations: 5.512 MB / 1.25 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.236, allocations: 0 / 1.25 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.238, allocations: 475.7 kB / 1.25 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/1.238, allocations: 12 kB / 1.25 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.238, allocations: 55.98 kB / 1.25 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.238, allocations: 8 kB / 1.25 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.238, allocations: 7.938 kB / 1.25 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/1.245, allocations: 3.811 MB / 1.254 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.247, allocations: 482 kB / 1.255 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/1.247, allocations: 44 kB / 1.255 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.249, allocations: 66.34 kB / 1.255 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.249, allocations: 161.7 kB / 1.255 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.249, allocations: 67.97 kB / 1.255 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002157/1.252, allocations: 0.9906 MB / 1.256 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/1.252, allocations: 0 / 1.256 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003057/1.255, allocations: 0.9357 MB / 1.257 GB, free: 6.336 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.007793/1.262, allocations: 4.625 MB / 1.261 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004127/1.267, allocations: 2.231 MB / 1.264 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.267, allocations: 4 kB / 1.264 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.269, allocations: 1.145 MB / 1.265 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/1.275, allocations: 1.285 MB / 1.266 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/1.309, allocations: 18.64 MB / 1.284 GB, free: 9.875 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/1.312, allocations: 1.968 MB / 1.286 GB, free: 7.871 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003286/1.315, allocations: 0.7249 MB / 1.287 GB, free: 7.145 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/1.317, allocations: 1.089 MB / 1.288 GB, free: 6.055 MB / 0.92 GB Notification: Performance of SimCode: time 1.062e-06/1.317, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/1.458, allocations: 67.69 MB / 1.354 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.32, allocations: 8 kB / 1.354 GB, free: 3.023 MB / 0.9825 GB " [Timeout remaining time 643] (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: 22.229628906119615] Failed to read output from testmodel.py, exit status != 0: 17.462075144983828 17.789454654 16.680893058 Calling exit ...