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.001625/0.001625, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001749/0.001749, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.004887/0.004887, allocations: 287.3 kB / 309.8 MB, free: 3.504 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.817/1.817, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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.002912/0.002912, allocations: 103.8 kB / 0.7347 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6123/0.6152, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.3594/0.9746, allocations: 298.6 MB / 1.119 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03529/1.01, allocations: 23.13 MB / 1.142 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/1.014, allocations: 99.25 kB / 1.142 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005909/1.02, allocations: 1.888 MB / 1.144 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.5723/1.592, allocations: 6.306 MB / 1.15 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009758/1.602, allocations: 2.928 MB / 1.153 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01376/1.616, allocations: 7.299 MB / 1.16 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004733/1.621, allocations: 2.475 MB / 1.163 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008791/1.629, allocations: 2.979 MB / 1.165 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006787/1.636, allocations: 2.886 MB / 1.168 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001294/1.638, allocations: 343.5 kB / 1.169 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/1.655, allocations: 6.339 MB / 1.175 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00439/1.66, allocations: 1.498 MB / 1.176 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009431/1.669, allocations: 1.906 MB / 1.178 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02478/1.694, allocations: 6.956 MB / 1.185 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.694, allocations: 0 / 1.185 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/1.694, allocations: 0.8438 kB / 1.185 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001633/1.694, allocations: 3.938 kB / 1.185 GB, free: 5.809 MB / 0.8731 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.01245/1.706, allocations: 4.204 MB / 1.189 GB, free: 20.03 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.706, allocations: 10.75 kB / 1.189 GB, free: 20.03 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.709e-05/1.707, allocations: 74 kB / 1.189 GB, free: 20.02 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006551/1.707, allocations: 391.8 kB / 1.189 GB, free: 19.97 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/1.713, allocations: 0.8609 MB / 1.19 GB, free: 19.79 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/1.717, allocations: 1.873 MB / 1.192 GB, free: 19.26 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/1.717, allocations: 209.8 kB / 1.192 GB, free: 19.25 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005758/1.718, allocations: 276.5 kB / 1.193 GB, free: 19.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/1.724, allocations: 3.594 MB / 1.196 GB, free: 18.89 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.78e-05/1.725, allocations: 13.94 kB / 1.196 GB, free: 18.89 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/1.725, allocations: 117.1 kB / 1.196 GB, free: 18.89 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/1.725, allocations: 147.2 kB / 1.196 GB, free: 18.88 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00677/1.732, allocations: 3.282 MB / 1.2 GB, free: 18.85 MB / 0.8887 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.02244/1.754, allocations: 14.23 MB / 1.213 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/1.758, allocations: 2.373 MB / 1.216 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.76, allocations: 1.25 MB / 1.217 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.762, allocations: 1.375 MB / 1.218 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/1.764, allocations: 1.224 MB / 1.22 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 4.148e-06/1.764, allocations: 3.156 kB / 1.22 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.005846/1.77, allocations: 3.176 MB / 1.223 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/1.77, allocations: 72.44 kB / 1.223 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.772, allocations: 1.455 MB / 1.224 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002948/1.772, allocations: 69.05 kB / 1.224 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008962/1.773, allocations: 1.143 MB / 1.225 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000786/1.774, allocations: 0.7676 MB / 1.226 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005741/1.774, allocations: 365.8 kB / 1.226 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.775, allocations: 308.5 kB / 1.227 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.776, allocations: 0.9162 MB / 1.228 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.778, allocations: 1.251 MB / 1.229 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/1.781, allocations: 2.322 MB / 1.231 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.781, allocations: 4.156 kB / 1.231 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005167/1.787, allocations: 2.609 MB / 1.234 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/1.787, allocations: 34.05 kB / 1.234 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.787, allocations: 8.875 kB / 1.234 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/1.787, allocations: 15.97 kB / 1.234 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.789, allocations: 466.6 kB / 1.234 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.841e-05/1.789, allocations: 25.8 kB / 1.234 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.791, allocations: 193.1 kB / 1.234 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/1.791, allocations: 84.61 kB / 1.234 GB, free: 5.762 MB / 0.8887 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.001537/1.793, allocations: 0.6836 MB / 1.235 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/1.793, allocations: 229.9 kB / 1.235 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/1.798, allocations: 2.522 MB / 1.238 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.798, allocations: 23.7 kB / 1.238 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.798, allocations: 1.125 kB / 1.238 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/1.802, allocations: 2.337 MB / 1.24 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.812, allocations: 5.61 MB / 1.246 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.812, allocations: 7.562 kB / 1.246 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.814, allocations: 476 kB / 1.246 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/1.814, allocations: 12.88 kB / 1.246 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.815, allocations: 57.06 kB / 1.246 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/1.815, allocations: 8.75 kB / 1.246 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.815, allocations: 7.094 kB / 1.246 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/1.82, allocations: 3.81 MB / 1.25 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.821, allocations: 0.5477 MB / 1.25 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/1.822, allocations: 43.95 kB / 1.25 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.823, allocations: 64.58 kB / 1.25 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/1.823, allocations: 153.8 kB / 1.251 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.824, allocations: 69.17 kB / 1.251 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001347/1.825, allocations: 0.9915 MB / 1.252 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.825, allocations: 0.8438 kB / 1.252 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002357/1.827, allocations: 0.9415 MB / 1.253 GB, free: 3.289 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.006885/1.834, allocations: 4.623 MB / 1.257 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004148/1.838, allocations: 2.236 MB / 1.259 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.838, allocations: 0.9688 kB / 1.259 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.84, allocations: 1.145 MB / 1.26 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/1.847, allocations: 1.292 MB / 1.262 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/1.877, allocations: 18.63 MB / 1.28 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.879, allocations: 1.967 MB / 1.282 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002756/1.882, allocations: 0.7288 MB / 1.282 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/1.884, allocations: 1.097 MB / 1.284 GB, free: 10.51 MB / 0.92 GB Notification: Performance of SimCode: time 1.082e-06/1.884, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/2.02, allocations: 66.08 MB / 1.348 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/16.13, allocations: 14.2 kB / 1.348 GB, free: 9.324 MB / 0.9825 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 & /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 os._exit(0), Time elapsed: 21.28604766400531] Failed to read output from testmodel.py, exit status != 0: 16.299781220033765 16.32200688 14.624127734 Calling exit ...