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.001422/0.001422, allocations: 109.9 kB / 16.45 MB, free: 6.508 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.001509/0.001509, allocations: 213.7 kB / 19.43 MB, free: 3.648 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 / 252.8 MB, free: 9.125 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.46/3.46, allocations: 0.5107 GB / 0.8123 GB, free: 17.34 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.003345/0.003345, allocations: 65.64 kB / 1.181 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3886, allocations: 181.8 MB / 1.358 GB, free: 120 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003869/0.3924, allocations: 1.853 MB / 1.36 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.393, allocations: 179.4 kB / 1.36 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.3932, allocations: 3.938 kB / 1.36 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.3934, allocations: 23.8 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3936, allocations: 23.78 kB / 1.36 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3938, allocations: 63.88 kB / 1.36 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.3942, allocations: 171.6 kB / 1.361 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.3945, allocations: 71.06 kB / 1.361 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3946, allocations: 71.72 kB / 1.361 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.3948, allocations: 79.66 kB / 1.361 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.3949, allocations: 16 kB / 1.361 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.3949, allocations: 16 kB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.395, allocations: 35.91 kB / 1.361 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3951, allocations: 67.67 kB / 1.361 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3954, allocations: 199.2 kB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3954, allocations: 7.938 kB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3954, allocations: 4 kB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.3954, allocations: 0 / 1.361 GB, free: 13.23 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.001169/0.3966, allocations: 466.8 kB / 1.362 GB, free: 12.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3967, allocations: 11.97 kB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.3967, allocations: 42.73 kB / 1.362 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.3968, allocations: 20.8 kB / 1.362 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.3972, allocations: 236.7 kB / 1.362 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3972, allocations: 8.375 kB / 1.362 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.3972, allocations: 16.38 kB / 1.362 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.3976, allocations: 162.1 kB / 1.362 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3977, allocations: 0 / 1.362 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3977, allocations: 4 kB / 1.362 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3977, allocations: 3.938 kB / 1.362 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.398, allocations: 119.9 kB / 1.362 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3991, allocations: 492.2 kB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3995, allocations: 122.5 kB / 1.363 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3997, allocations: 72.81 kB / 1.363 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3997, allocations: 3.938 kB / 1.363 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.4, allocations: 139.4 kB / 1.363 GB, free: 11.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.4, allocations: 0 / 1.363 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007415/0.4008, allocations: 253.4 kB / 1.363 GB, free: 10.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4008, allocations: 55.41 kB / 1.363 GB, free: 10.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.401, allocations: 172.6 kB / 1.363 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.4011, allocations: 29.7 kB / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.4012, allocations: 120.4 kB / 1.364 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.4012, allocations: 35.73 kB / 1.364 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.4013, allocations: 41.7 kB / 1.364 GB, free: 10.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4014, allocations: 322.8 kB / 1.364 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4016, allocations: 63.95 kB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.4018, allocations: 98.81 kB / 1.364 GB, free: 9.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.4022, allocations: 153 kB / 1.364 GB, free: 9.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4022, allocations: 4 kB / 1.364 GB, free: 9.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004811/0.4027, allocations: 201.2 kB / 1.364 GB, free: 9.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4027, allocations: 12.12 kB / 1.364 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4027, allocations: 0 / 1.364 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4028, allocations: 4 kB / 1.364 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4029, allocations: 27.91 kB / 1.364 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4029, allocations: 7.938 kB / 1.364 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.4031, allocations: 23.88 kB / 1.364 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4031, allocations: 4 kB / 1.365 GB, free: 9.484 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,repFil.y,repFil.u,masAcc.edg.y,masAcc.edg.u,$PRE.masAcc.edg.u,masAcc.notFul.greHys.y,$PRE.masAcc.notFul.greHys.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.0001465/0.4032, allocations: 145.7 kB / 1.365 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.4033, allocations: 15.91 kB / 1.365 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.4033, allocations: 16.84 kB / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4033, allocations: 0 / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4033, allocations: 4 kB / 1.365 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4033, allocations: 3.984 kB / 1.365 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.4043, allocations: 0.5334 MB / 1.365 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4043, allocations: 8 kB / 1.365 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4044, allocations: 11.98 kB / 1.365 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4044, allocations: 0 / 1.365 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.4044, allocations: 11.98 kB / 1.365 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4044, allocations: 0 / 1.365 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4044, allocations: 0 / 1.365 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.4052, allocations: 389.3 kB / 1.366 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.4052, allocations: 97.03 kB / 1.366 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.4053, allocations: 7.969 kB / 1.366 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4054, allocations: 15.98 kB / 1.366 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.4055, allocations: 23.91 kB / 1.366 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4055, allocations: 4 kB / 1.366 GB, free: 8.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001143/0.4056, allocations: 125.6 kB / 1.366 GB, free: 7.992 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4056, allocations: 0 / 1.366 GB, free: 7.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002928/0.4059, allocations: 32.06 kB / 1.366 GB, free: 7.961 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,masAcc.notFul.greHys.y,masAcc.edg.u,repFil.y,repFil.t_next) * 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.001208/0.4071, allocations: 0.9193 MB / 1.367 GB, free: 7.016 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005249/0.4077, allocations: 147.9 kB / 1.367 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4077, allocations: 4 kB / 1.367 GB, free: 6.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.4079, allocations: 74.5 kB / 1.367 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.4082, allocations: 35.66 kB / 1.367 GB, free: 6.766 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.4113, allocations: 1.98 MB / 1.369 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.4118, allocations: 0.7241 MB / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.691e-05/0.4119, allocations: 21.42 kB / 1.37 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.412, allocations: 43.41 kB / 1.37 GB, free: 3.863 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.412, allocations: 0 / 1.37 GB, free: 3.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.4447, allocations: 3.434 MB / 1.373 GB, free: 0.582 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.952, allocations: 12.55 kB / 1.373 GB, free: 0.5703 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.974691745999735] Failed to read output from testmodel.py, exit status != 0: 9.024887767038308 9.047547384 8.647624134 Calling exit ...