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.001498/0.001498, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001849/0.001849, allocations: 219.2 kB / 22.25 MB, free: 5.254 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.77 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.159/3.159, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] 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.00204/0.00204, allocations: 68.77 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3083/0.6891, allocations: 262.2 MB / 1.582 GB, free: 10.31 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03212/0.7212, allocations: 21.34 MB / 1.603 GB, free: 4.914 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00415/0.7254, allocations: 103.2 kB / 1.603 GB, free: 4.812 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.7303, allocations: 1.713 MB / 1.605 GB, free: 3.09 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.9226/1.653, allocations: 6.369 MB / 1.611 GB, free: 6.238 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008581/1.661, allocations: 2.982 MB / 1.614 GB, free: 6.238 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01237/1.674, allocations: 7.414 MB / 1.621 GB, free: 6.227 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005789/1.68, allocations: 2.155 MB / 1.623 GB, free: 6.078 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/1.69, allocations: 3.279 MB / 1.626 GB, free: 6.074 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007137/1.697, allocations: 2.845 MB / 1.629 GB, free: 6.074 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001753/1.699, allocations: 342.2 kB / 1.629 GB, free: 6.074 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/1.712, allocations: 4.959 MB / 1.634 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003403/1.716, allocations: 1.502 MB / 1.636 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005691/1.721, allocations: 1.602 MB / 1.637 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01636/1.738, allocations: 6.788 MB / 1.644 GB, free: 5.586 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.738, allocations: 3.062 kB / 1.644 GB, free: 5.586 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.774e-06/1.738, allocations: 0.8438 kB / 1.644 GB, free: 5.586 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000225/1.738, allocations: 1.375 kB / 1.644 GB, free: 5.586 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.0129/1.751, allocations: 4.111 MB / 1.648 GB, free: 19.91 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.751, allocations: 11.84 kB / 1.648 GB, free: 19.91 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004841/1.751, allocations: 393.6 kB / 1.648 GB, free: 19.86 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/1.757, allocations: 0.8605 MB / 1.649 GB, free: 19.67 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/1.76, allocations: 1.787 MB / 1.651 GB, free: 19.2 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/1.76, allocations: 211.2 kB / 1.651 GB, free: 19.19 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/1.761, allocations: 279.2 kB / 1.651 GB, free: 19.18 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005333/1.766, allocations: 3.921 MB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.388e-05/1.766, allocations: 9.562 kB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/1.766, allocations: 112.5 kB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.767, allocations: 144.2 kB / 1.655 GB, free: 18.41 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004934/1.771, allocations: 3.277 MB / 1.659 GB, free: 18.38 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.01334/1.785, allocations: 9.026 MB / 1.667 GB, free: 15.41 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/1.788, allocations: 2.06 MB / 1.669 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/1.789, allocations: 1.243 MB / 1.671 GB, free: 15.34 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/1.79, allocations: 177 kB / 1.671 GB, free: 15.34 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/1.792, allocations: 1.557 MB / 1.672 GB, free: 14.86 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.91e-06/1.792, allocations: 0.7812 kB / 1.672 GB, free: 14.86 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005134/1.797, allocations: 3.176 MB / 1.675 GB, free: 14.66 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/1.797, allocations: 80.22 kB / 1.676 GB, free: 14.59 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/1.799, allocations: 1.463 MB / 1.677 GB, free: 14.41 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.799, allocations: 66.61 kB / 1.677 GB, free: 14.38 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/1.8, allocations: 1.139 MB / 1.678 GB, free: 13.9 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/1.8, allocations: 0.767 MB / 1.679 GB, free: 13.39 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004939/1.801, allocations: 362.8 kB / 1.679 GB, free: 13.36 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.801, allocations: 308.7 kB / 1.68 GB, free: 13.06 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.802, allocations: 0.9461 MB / 1.68 GB, free: 13.02 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/1.804, allocations: 1.41 MB / 1.682 GB, free: 12.52 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/1.807, allocations: 2.317 MB / 1.684 GB, free: 12.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.807, allocations: 3.719 kB / 1.684 GB, free: 12.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003967/1.811, allocations: 2.639 MB / 1.687 GB, free: 11.95 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/1.811, allocations: 35.72 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.811, allocations: 7.75 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/1.811, allocations: 18.25 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.813, allocations: 463.2 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/1.813, allocations: 21.95 kB / 1.687 GB, free: 11.91 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/1.815, allocations: 202.1 kB / 1.687 GB, free: 11.81 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.815, allocations: 80.08 kB / 1.687 GB, free: 11.81 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.001281/1.816, allocations: 0.6874 MB / 1.688 GB, free: 11.68 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/1.816, allocations: 229.9 kB / 1.688 GB, free: 11.56 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/1.82, allocations: 2.521 MB / 1.691 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.82, allocations: 21.91 kB / 1.691 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.82, allocations: 0 / 1.691 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003181/1.823, allocations: 2.33 MB / 1.693 GB, free: 11.05 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008336/1.832, allocations: 5.132 MB / 1.698 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.832, allocations: 6.594 kB / 1.698 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.834, allocations: 473.8 kB / 1.699 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/1.834, allocations: 9.688 kB / 1.699 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.834, allocations: 56.33 kB / 1.699 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/1.834, allocations: 14.59 kB / 1.699 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.834, allocations: 2.281 kB / 1.699 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/1.839, allocations: 3.809 MB / 1.702 GB, free: 10.11 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.841, allocations: 493.2 kB / 1.703 GB, free: 9.965 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/1.841, allocations: 40.12 kB / 1.703 GB, free: 9.965 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.843, allocations: 66.47 kB / 1.703 GB, free: 9.965 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/1.843, allocations: 155.9 kB / 1.703 GB, free: 9.957 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.843, allocations: 73.12 kB / 1.703 GB, free: 9.957 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001279/1.844, allocations: 0.9872 MB / 1.704 GB, free: 9.848 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.844, allocations: 0.75 kB / 1.704 GB, free: 9.848 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002315/1.847, allocations: 0.9417 MB / 1.705 GB, free: 9.711 MB / 1.311 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.005796/1.852, allocations: 4.628 MB / 1.71 GB, free: 8.742 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003379/1.856, allocations: 2.255 MB / 1.712 GB, free: 8.602 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.856, allocations: 2.781 kB / 1.712 GB, free: 8.602 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/1.857, allocations: 1.148 MB / 1.713 GB, free: 8.594 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/1.863, allocations: 1.299 MB / 1.714 GB, free: 8.418 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/1.891, allocations: 18.73 MB / 1.732 GB, free: 1.004 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.893, allocations: 1.41 MB / 1.734 GB, free: 0.668 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002596/1.895, allocations: 0.7243 MB / 1.735 GB, free: 0.5312 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/1.897, allocations: 1.175 MB / 1.736 GB, free: 15.99 MB / 1.326 GB Notification: Performance of SimCode: time 1.322e-06/1.897, allocations: 0 / 1.736 GB, free: 15.99 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/2.026, allocations: 72.26 MB / 1.806 GB, free: 0.9062 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/16.09, allocations: 3.938 kB / 1.806 GB, free: 0.9023 MB / 1.373 GB " [Timeout remaining time 284] (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: 22.92051707400242] Failed to read output from testmodel.py, exit status != 0: 16.242546698980732 16.263326846 14.521213778 Calling exit ...