Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001867/0.001867, allocations: 101.3 kB / 16.45 MB, free: 6.504 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.002136/0.002136, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.038/3.038, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001991/0.001991, allocations: 71.56 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.267/1.605, allocations: 298.7 MB / 1.613 GB, free: 3.875 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0291/1.634, allocations: 23.15 MB / 1.635 GB, free: 3.812 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/1.638, allocations: 104.2 kB / 1.635 GB, free: 3.812 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005335/1.643, allocations: 1.889 MB / 1.637 GB, free: 3.785 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01692/1.66, allocations: 6.316 MB / 1.643 GB, free: 3.551 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007944/1.668, allocations: 2.923 MB / 1.646 GB, free: 3.477 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01017/1.678, allocations: 7.306 MB / 1.653 GB, free: 3.453 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004127/1.682, allocations: 2.464 MB / 1.656 GB, free: 3.297 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008076/1.691, allocations: 3.231 MB / 1.659 GB, free: 3.293 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/1.696, allocations: 2.837 MB / 1.662 GB, free: 3.289 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001293/1.698, allocations: 344 kB / 1.662 GB, free: 3.289 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/1.711, allocations: 6.321 MB / 1.668 GB, free: 3.23 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002741/1.713, allocations: 1.491 MB / 1.67 GB, free: 3.23 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00509/1.719, allocations: 1.911 MB / 1.671 GB, free: 2.879 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/1.734, allocations: 6.955 MB / 1.678 GB, free: 2.102 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.734, allocations: 0 / 1.678 GB, free: 2.102 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.284e-06/1.734, allocations: 1 kB / 1.678 GB, free: 2.102 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002011/1.734, allocations: 1.688 kB / 1.678 GB, free: 2.102 MB / 1.295 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.01307/1.747, allocations: 4.201 MB / 1.682 GB, free: 16.32 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.747, allocations: 14.27 kB / 1.682 GB, free: 16.32 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/1.748, allocations: 397.4 kB / 1.683 GB, free: 16.26 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006087/1.754, allocations: 0.86 MB / 1.683 GB, free: 16.08 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/1.758, allocations: 1.871 MB / 1.685 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/1.758, allocations: 206 kB / 1.686 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007534/1.759, allocations: 280.5 kB / 1.686 GB, free: 15.54 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007262/1.766, allocations: 3.6 MB / 1.689 GB, free: 15.18 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.236e-05/1.766, allocations: 8.281 kB / 1.689 GB, free: 15.18 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/1.767, allocations: 122.6 kB / 1.689 GB, free: 15.18 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/1.767, allocations: 152.8 kB / 1.69 GB, free: 15.17 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006182/1.773, allocations: 3.285 MB / 1.693 GB, free: 15.14 MB / 1.311 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.01921/1.792, allocations: 14.24 MB / 1.707 GB, free: 6.82 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.796, allocations: 2.366 MB / 1.709 GB, free: 6.383 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/1.798, allocations: 1.247 MB / 1.71 GB, free: 6.359 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/1.8, allocations: 1.382 MB / 1.712 GB, free: 4.852 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.802, allocations: 1.224 MB / 1.713 GB, free: 4.77 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.158e-06/1.802, allocations: 0 / 1.713 GB, free: 4.77 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005804/1.808, allocations: 3.177 MB / 1.716 GB, free: 4.566 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.808, allocations: 78.28 kB / 1.716 GB, free: 4.5 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.81, allocations: 1.458 MB / 1.717 GB, free: 4.328 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/1.81, allocations: 68.83 kB / 1.717 GB, free: 4.297 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.811, allocations: 1.136 MB / 1.719 GB, free: 3.812 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008021/1.812, allocations: 0.7731 MB / 1.719 GB, free: 3.305 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006259/1.813, allocations: 363.8 kB / 1.72 GB, free: 3.273 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.813, allocations: 305.1 kB / 1.72 GB, free: 2.973 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.814, allocations: 0.9122 MB / 1.721 GB, free: 2.965 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/1.816, allocations: 1.259 MB / 1.722 GB, free: 2.641 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.82, allocations: 2.324 MB / 1.724 GB, free: 2.297 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.82, allocations: 2.375 kB / 1.724 GB, free: 2.297 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004815/1.824, allocations: 2.61 MB / 1.727 GB, free: 1.449 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/1.824, allocations: 34.11 kB / 1.727 GB, free: 1.418 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.824, allocations: 8.312 kB / 1.727 GB, free: 1.418 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.229e-05/1.824, allocations: 16 kB / 1.727 GB, free: 1.418 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.826, allocations: 468.6 kB / 1.727 GB, free: 1.398 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.573e-05/1.826, allocations: 21.39 kB / 1.727 GB, free: 1.398 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.829, allocations: 193.3 kB / 1.728 GB, free: 1.266 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/1.829, allocations: 76.69 kB / 1.728 GB, free: 1.25 MB / 1.311 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.001847/1.831, allocations: 0.6933 MB / 1.728 GB, free: 0.8867 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/1.832, allocations: 225.9 kB / 1.729 GB, free: 0.7695 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/1.837, allocations: 2.53 MB / 1.731 GB, free: 15.68 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.837, allocations: 19.47 kB / 1.731 GB, free: 15.68 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.837, allocations: 2.969 kB / 1.731 GB, free: 15.68 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003612/1.84, allocations: 2.329 MB / 1.733 GB, free: 14.36 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.851, allocations: 5.609 MB / 1.739 GB, free: 10.93 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.851, allocations: 5.562 kB / 1.739 GB, free: 10.93 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.853, allocations: 471.8 kB / 1.739 GB, free: 10.84 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-05/1.853, allocations: 14.44 kB / 1.739 GB, free: 10.84 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/1.853, allocations: 59.34 kB / 1.739 GB, free: 10.8 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-05/1.853, allocations: 15.12 kB / 1.739 GB, free: 10.79 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.853, allocations: 9 kB / 1.739 GB, free: 10.79 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006567/1.86, allocations: 3.802 MB / 1.743 GB, free: 8.754 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.861, allocations: 0.5593 MB / 1.744 GB, free: 8.324 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/1.862, allocations: 45.36 kB / 1.744 GB, free: 8.293 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.864, allocations: 58.16 kB / 1.744 GB, free: 8.258 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/1.864, allocations: 153.9 kB / 1.744 GB, free: 8.18 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.864, allocations: 65.94 kB / 1.744 GB, free: 8.16 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001743/1.866, allocations: 0.9924 MB / 1.745 GB, free: 7.629 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/1.866, allocations: 4 kB / 1.745 GB, free: 7.625 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00272/1.869, allocations: 0.9415 MB / 1.746 GB, free: 7.418 MB / 1.326 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.007453/1.876, allocations: 4.627 MB / 1.75 GB, free: 4.434 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004438/1.881, allocations: 2.229 MB / 1.752 GB, free: 2.238 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.881, allocations: 4 kB / 1.753 GB, free: 2.234 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/1.883, allocations: 1.144 MB / 1.754 GB, free: 1.137 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006723/1.889, allocations: 1.272 MB / 1.755 GB, free: 15.88 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/1.926, allocations: 18.65 MB / 1.773 GB, free: 12.84 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.929, allocations: 1.968 MB / 1.775 GB, free: 10.83 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002853/1.932, allocations: 0.7249 MB / 1.776 GB, free: 10.11 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/1.934, allocations: 1.089 MB / 1.777 GB, free: 9.016 MB / 1.357 GB Notification: Performance of SimCode: time 8.52e-07/1.934, allocations: 6.625 kB / 1.777 GB, free: 9.012 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/2.068, allocations: 66.01 MB / 1.841 GB, free: 7.797 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/15.33, allocations: 4.062 kB / 1.841 GB, free: 7.793 MB / 1.42 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.966515148058534] Failed to read output from testmodel.py, exit status != 0: 15.438360527157784 15.454422959 13.717317509 Calling exit ...