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.001939/0.001939, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002538/0.002538, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.762/1.762, allocations: 230.6 MB / 256 MB, free: 7.988 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.027/3.027, allocations: 0.49 GB / 0.7951 GB, free: 33.34 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.001957/0.001957, allocations: 73.97 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.07/1.396, allocations: 299.8 MB / 1.619 GB, free: 4.062 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0298/1.426, allocations: 23.27 MB / 1.641 GB, free: 3.996 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004634/1.431, allocations: 100.6 kB / 1.642 GB, free: 3.996 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005554/1.436, allocations: 1.896 MB / 1.643 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01717/1.453, allocations: 6.433 MB / 1.65 GB, free: 3.734 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008732/1.462, allocations: 2.997 MB / 1.653 GB, free: 3.645 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0115/1.474, allocations: 7.439 MB / 1.66 GB, free: 3.621 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/1.478, allocations: 2.158 MB / 1.662 GB, free: 3.469 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008356/1.486, allocations: 3.242 MB / 1.665 GB, free: 3.461 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00587/1.492, allocations: 2.849 MB / 1.668 GB, free: 3.457 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0008725/1.493, allocations: 343.5 kB / 1.668 GB, free: 3.457 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/1.507, allocations: 6.426 MB / 1.675 GB, free: 3.398 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003537/1.51, allocations: 1.495 MB / 1.676 GB, free: 3.398 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00472/1.515, allocations: 1.906 MB / 1.678 GB, free: 3 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.531, allocations: 6.964 MB / 1.685 GB, free: 2.219 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.531, allocations: 2.5 kB / 1.685 GB, free: 2.219 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.663e-06/1.531, allocations: 0.75 kB / 1.685 GB, free: 2.219 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001205/1.531, allocations: 0 / 1.685 GB, free: 2.219 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.009713/1.541, allocations: 4.128 MB / 1.689 GB, free: 16.53 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.541, allocations: 13.17 kB / 1.689 GB, free: 16.53 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004438/1.541, allocations: 392.5 kB / 1.689 GB, free: 16.48 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/1.546, allocations: 0.8574 MB / 1.69 GB, free: 16.29 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/1.551, allocations: 1.786 MB / 1.692 GB, free: 15.82 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.551, allocations: 214 kB / 1.692 GB, free: 15.8 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004468/1.551, allocations: 273 kB / 1.692 GB, free: 15.8 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005482/1.557, allocations: 3.599 MB / 1.696 GB, free: 15.45 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.696e-05/1.557, allocations: 8.734 kB / 1.696 GB, free: 15.44 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/1.557, allocations: 116.6 kB / 1.696 GB, free: 15.44 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/1.557, allocations: 145.6 kB / 1.696 GB, free: 15.43 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/1.562, allocations: 3.293 MB / 1.699 GB, free: 15.4 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.01672/1.579, allocations: 14.09 MB / 1.713 GB, free: 7.133 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/1.582, allocations: 2.066 MB / 1.715 GB, free: 7.062 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.584, allocations: 1.252 MB / 1.716 GB, free: 7.043 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/1.584, allocations: 197.3 kB / 1.716 GB, free: 7.031 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/1.586, allocations: 1.221 MB / 1.717 GB, free: 6.953 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 3.928e-06/1.586, allocations: 0 / 1.717 GB, free: 6.953 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005173/1.591, allocations: 3.179 MB / 1.721 GB, free: 6.746 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.591, allocations: 77.42 kB / 1.721 GB, free: 6.684 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/1.593, allocations: 1.455 MB / 1.722 GB, free: 6.516 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.593, allocations: 65.33 kB / 1.722 GB, free: 6.484 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008937/1.594, allocations: 1.135 MB / 1.723 GB, free: 6.004 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/1.595, allocations: 0.7703 MB / 1.724 GB, free: 5.496 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/1.595, allocations: 362.6 kB / 1.724 GB, free: 5.465 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.595, allocations: 309.1 kB / 1.725 GB, free: 5.16 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/1.597, allocations: 0.9121 MB / 1.726 GB, free: 5.152 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.598, allocations: 1.258 MB / 1.727 GB, free: 4.828 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/1.601, allocations: 2.322 MB / 1.729 GB, free: 4.066 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.601, allocations: 2.656 kB / 1.729 GB, free: 4.066 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004541/1.606, allocations: 2.613 MB / 1.732 GB, free: 3.043 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/1.606, allocations: 34.05 kB / 1.732 GB, free: 3.012 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.606, allocations: 8.531 kB / 1.732 GB, free: 3.012 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/1.606, allocations: 16.25 kB / 1.732 GB, free: 3.012 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/1.608, allocations: 466.3 kB / 1.732 GB, free: 2.996 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.719e-05/1.608, allocations: 18.53 kB / 1.732 GB, free: 2.996 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.61, allocations: 200.8 kB / 1.732 GB, free: 2.855 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/1.61, allocations: 80.17 kB / 1.732 GB, free: 2.836 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.001336/1.611, allocations: 0.6909 MB / 1.733 GB, free: 2.477 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/1.612, allocations: 225.8 kB / 1.733 GB, free: 2.359 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/1.616, allocations: 2.522 MB / 1.736 GB, free: 1.266 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.616, allocations: 22.78 kB / 1.736 GB, free: 1.266 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.616, allocations: 0 / 1.736 GB, free: 1.266 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003276/1.619, allocations: 2.328 MB / 1.738 GB, free: 15.95 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008985/1.628, allocations: 5.516 MB / 1.743 GB, free: 12.64 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.628, allocations: 5.156 kB / 1.743 GB, free: 12.64 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.63, allocations: 474.1 kB / 1.744 GB, free: 12.55 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.296e-05/1.63, allocations: 14.55 kB / 1.744 GB, free: 12.55 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.631, allocations: 53.55 kB / 1.744 GB, free: 12.52 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/1.631, allocations: 14 kB / 1.744 GB, free: 12.51 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.631, allocations: 8.031 kB / 1.744 GB, free: 12.51 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/1.636, allocations: 3.812 MB / 1.748 GB, free: 10.46 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.638, allocations: 486.2 kB / 1.748 GB, free: 10.14 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/1.638, allocations: 41.12 kB / 1.748 GB, free: 10.11 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.639, allocations: 63.27 kB / 1.748 GB, free: 10.07 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.64, allocations: 162.5 kB / 1.748 GB, free: 9.973 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.64, allocations: 72.97 kB / 1.748 GB, free: 9.949 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001298/1.641, allocations: 0.9869 MB / 1.749 GB, free: 9.422 MB / 1.326 GB Notification: Performance of sort global known variables: time 7.1e-08/1.641, allocations: 0 / 1.749 GB, free: 9.422 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002172/1.643, allocations: 0.9403 MB / 1.75 GB, free: 9.215 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.006458/1.65, allocations: 4.619 MB / 1.755 GB, free: 6.414 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.003878/1.654, allocations: 2.234 MB / 1.757 GB, free: 4.215 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.654, allocations: 4.625 kB / 1.757 GB, free: 4.211 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/1.656, allocations: 1.146 MB / 1.758 GB, free: 3.109 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/1.661, allocations: 1.285 MB / 1.759 GB, free: 1.848 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02891/1.69, allocations: 18.63 MB / 1.778 GB, free: 14.84 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/1.692, allocations: 1.971 MB / 1.78 GB, free: 12.83 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002499/1.694, allocations: 0.7249 MB / 1.78 GB, free: 12.1 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.696, allocations: 1.097 MB / 1.781 GB, free: 11 MB / 1.357 GB Notification: Performance of SimCode: time 8.61e-07/1.696, allocations: 4 kB / 1.781 GB, free: 11 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/1.826, allocations: 67.66 MB / 1.847 GB, free: 8.199 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/17.32, allocations: 12.05 kB / 1.847 GB, free: 8.188 MB / 1.42 GB " [Timeout remaining time 283] (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: 24.285270641999887] Failed to read output from testmodel.py, exit status != 0: 17.470859254999596 17.485697424 15.951497142 Calling exit ...