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.001728/0.001728, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002135/0.002135, allocations: 217 kB / 22.26 MB, free: 5.117 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.996 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.523/3.523, allocations: 0.5107 GB / 0.8158 GB, free: 16.25 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.002092/0.002092, allocations: 75.48 kB / 1.186 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 181.9 MB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003306/0.4003, allocations: 1.866 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.4009, allocations: 183.4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.401, allocations: 11.94 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.4011, allocations: 23.73 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.4012, allocations: 15.81 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.4015, allocations: 63.92 kB / 1.366 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.4017, allocations: 175.5 kB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.4019, allocations: 66.02 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.402, allocations: 67.78 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.4021, allocations: 75.66 kB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4022, allocations: 24 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.4022, allocations: 16 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.4023, allocations: 35.92 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.4024, allocations: 71.59 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.4027, allocations: 195.2 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4027, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4027, allocations: 4 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4027, allocations: 0 / 1.366 GB, free: 11.72 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.0009704/0.4036, allocations: 414.4 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4037, allocations: 15.97 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.4038, allocations: 46.73 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.4038, allocations: 16.84 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.4041, allocations: 170.8 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4041, allocations: 12.38 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.4042, allocations: 12.38 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.4046, allocations: 170.3 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4046, allocations: 0 / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4046, allocations: 0 / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4046, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.4049, allocations: 123.9 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.4057, allocations: 451.4 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.4061, allocations: 130.4 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4062, allocations: 64.8 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4063, allocations: 0 / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.4066, allocations: 143.4 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.4066, allocations: 0 / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006634/0.4072, allocations: 260.2 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4073, allocations: 51.41 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4074, allocations: 162 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.4075, allocations: 41.69 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4076, allocations: 120.4 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.4076, allocations: 27.75 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.4077, allocations: 37.7 kB / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4078, allocations: 326.8 kB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.408, allocations: 59.94 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4082, allocations: 106.6 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.4086, allocations: 160.8 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4086, allocations: 0 / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004371/0.409, allocations: 201.3 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.409, allocations: 4 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.409, allocations: 4 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4091, allocations: 0 / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4092, allocations: 27.92 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4092, allocations: 12.11 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.4093, allocations: 19.88 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4093, allocations: 12 kB / 1.369 GB, free: 8.152 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.0001459/0.4095, allocations: 142.2 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.4095, allocations: 15.89 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.4096, allocations: 16.78 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.4096, allocations: 12 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4096, allocations: 0 / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4096, allocations: 0 / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.4104, allocations: 0.509 MB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4104, allocations: 0 / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4105, allocations: 19.92 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4105, allocations: 4 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4105, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4105, allocations: 4 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4105, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.4112, allocations: 379.3 kB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.4112, allocations: 19.86 kB / 1.371 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4113, allocations: 4 kB / 1.371 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4114, allocations: 20.05 kB / 1.371 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.4115, allocations: 27.83 kB / 1.371 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.4115, allocations: 4 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001028/0.4116, allocations: 120.1 kB / 1.371 GB, free: 6.793 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4116, allocations: 0 / 1.371 GB, free: 6.793 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003337/0.4119, allocations: 31.95 kB / 1.371 GB, free: 6.762 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.001068/0.413, allocations: 0.914 MB / 1.372 GB, free: 5.824 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.4134, allocations: 147.8 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4134, allocations: 320 / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.4136, allocations: 83.88 kB / 1.372 GB, free: 5.598 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4139, allocations: 29.3 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.4168, allocations: 1.979 MB / 1.374 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4171, allocations: 0.7242 MB / 1.375 GB, free: 2.734 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.1e-05/0.4172, allocations: 21.36 kB / 1.375 GB, free: 2.715 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4173, allocations: 51.41 kB / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.4173, allocations: 0 / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4511, allocations: 3.589 MB / 1.378 GB, free: 15.22 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.73, allocations: 10.42 kB / 1.378 GB, free: 15.21 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.92558976903092] Failed to read output from testmodel.py, exit status != 0: 11.832957359030843 11.849275555 11.443474241 Calling exit ...