Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.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.001845/0.001845, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002421/0.002421, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.44/3.44, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,fileNamePrefix="Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,fileNamePrefix="Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation",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.00242/0.00242, allocations: 68.02 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3705, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003243/0.3737, allocations: 1.819 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.3742, allocations: 179.5 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3743, allocations: 3.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3745, allocations: 27.73 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3746, allocations: 19.8 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.3749, allocations: 63.92 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.3752, allocations: 171.6 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.3754, allocations: 55.36 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.3755, allocations: 71.77 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3757, allocations: 75.67 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.3757, allocations: 16 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.3758, allocations: 16 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.3758, allocations: 43.84 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3759, allocations: 59.72 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3763, allocations: 191.2 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3763, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3763, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3763, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001015/0.3773, allocations: 418.4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3773, allocations: 8.031 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.3774, allocations: 42.73 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.3775, allocations: 20.84 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3778, allocations: 174.8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3778, allocations: 12.38 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.3779, allocations: 12.38 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.3783, allocations: 158.5 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3783, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3783, allocations: 8 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3783, allocations: 7.938 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.3787, allocations: 115.9 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.3795, allocations: 423.4 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.3799, allocations: 138.4 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.38, allocations: 60.81 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.38, allocations: 4 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.3804, allocations: 131.3 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.3804, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007009/0.3811, allocations: 264 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3811, allocations: 55.41 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3813, allocations: 164.4 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3813, allocations: 29.7 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.3814, allocations: 124.5 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3814, allocations: 35.73 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.3815, allocations: 37.7 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3817, allocations: 326.8 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3818, allocations: 55.95 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.382, allocations: 114.6 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.3824, allocations: 145 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3824, allocations: 0 / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004416/0.3828, allocations: 205.3 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3828, allocations: 8 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3828, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3828, allocations: 4 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.383, allocations: 27.97 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.383, allocations: 7.938 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3831, allocations: 23.88 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3831, allocations: 4 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.repFil.u,$PRE.repFil.t_next,$whenCondition1,masAcc.notFul.greHys.y,$PRE.masAcc.notFul.greHys.y,masAcc.edg.u,$PRE.masAcc.edg.u,masAcc.edg.y,repFil.u,repFil.y,$whenCondition3,$whenCondition2,$whenCondition4,repFil.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001396/0.3833, allocations: 142.4 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3833, allocations: 19.84 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.3833, allocations: 16.78 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3833, allocations: 0 / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3833, allocations: 0 / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3833, allocations: 3.984 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.3842, allocations: 0.4935 MB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3842, allocations: 4 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3843, allocations: 19.92 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3843, allocations: 0 / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3843, allocations: 4 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3843, allocations: 4 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3843, allocations: 3.938 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.385, allocations: 383.3 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.385, allocations: 19.83 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.3851, allocations: 8.062 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3852, allocations: 11.98 kB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.3853, allocations: 23.89 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3853, allocations: 4.047 kB / 1.37 GB, free: 6.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3854, allocations: 128.9 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3854, allocations: 0 / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002772/0.3857, allocations: 31.95 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (masAcc.intWitRes.y) * Number of discrete variables: 10 (masAcc.edg.y,repFil.u,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,repFil.t_next,repFil.y,masAcc.edg.u,masAcc.notFul.greHys.y) * Number of discrete states: 3 (repFil.t_next,masAcc.notFul.greHys.y,masAcc.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001052/0.3867, allocations: 0.9272 MB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.3871, allocations: 155.8 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3871, allocations: 0 / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.3873, allocations: 71.94 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3877, allocations: 32.17 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.3904, allocations: 1.978 MB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3905, allocations: 115.4 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.3906, allocations: 17.42 kB / 1.374 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.3907, allocations: 47.41 kB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.3907, allocations: 4 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.4254, allocations: 4.09 MB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 5.891 kB / 1.378 GB, free: 14.9 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe >> ../files/Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_res.csv --start-time 0 --stop-time 6.3072e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation.fmu > Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 18.881521515082568] Failed to read output from testmodel.py, exit status != 0: 11.866665266919881 11.884236004 11.50469822 Calling exit ...