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.002186/0.002186, allocations: 78.31 kB / 19.01 MB, free: 2.566 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.002334/0.002334, allocations: 160.2 kB / 22.26 MB, free: 4.859 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.503/1.503, allocations: 177.2 MB / 202.6 MB, free: 7.945 MB / 190.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.032/3.032, allocations: 394.2 MB / 0.6379 GB, free: 12.09 MB / 0.6075 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.002082/0.002082, allocations: 77.59 kB / 1.008 GB, free: 8.324 MB / 0.9513 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 181.8 MB / 1.185 GB, free: 2.168 MB / 1.123 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003801/0.3664, allocations: 1.819 MB / 1.187 GB, free: 336 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0005049/0.3669, allocations: 175.4 kB / 1.187 GB, free: 160 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.367, allocations: 7.938 kB / 1.187 GB, free: 152 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.3672, allocations: 19.78 kB / 1.187 GB, free: 132 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3673, allocations: 19.81 kB / 1.187 GB, free: 112 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3676, allocations: 67.86 kB / 1.187 GB, free: 44 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.3679, allocations: 171.6 kB / 1.188 GB, free: 15.88 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.3681, allocations: 59.25 kB / 1.188 GB, free: 15.81 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3682, allocations: 67.77 kB / 1.188 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3684, allocations: 71.67 kB / 1.188 GB, free: 15.68 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.3684, allocations: 16 kB / 1.188 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.3685, allocations: 16 kB / 1.188 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.3685, allocations: 39.91 kB / 1.188 GB, free: 15.61 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3686, allocations: 59.72 kB / 1.188 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3689, allocations: 195.2 kB / 1.188 GB, free: 15.36 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3689, allocations: 3.984 kB / 1.188 GB, free: 15.35 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3689, allocations: 0 / 1.188 GB, free: 15.35 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.369, allocations: 0 / 1.188 GB, free: 15.35 MB / 1.139 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.0009531/0.3699, allocations: 410.4 kB / 1.189 GB, free: 14.91 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3699, allocations: 8.031 kB / 1.189 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.37, allocations: 46.73 kB / 1.189 GB, free: 14.85 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3701, allocations: 24.78 kB / 1.189 GB, free: 14.83 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3704, allocations: 182.8 kB / 1.189 GB, free: 14.62 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3704, allocations: 16.36 kB / 1.189 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3704, allocations: 12.38 kB / 1.189 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.3708, allocations: 157.5 kB / 1.189 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3708, allocations: 0 / 1.189 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.3708, allocations: 4 kB / 1.189 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3708, allocations: 4 kB / 1.189 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.3712, allocations: 123.8 kB / 1.189 GB, free: 14.31 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.372, allocations: 415.5 kB / 1.189 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.3724, allocations: 130.4 kB / 1.19 GB, free: 13.72 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3725, allocations: 68.81 kB / 1.19 GB, free: 13.65 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3725, allocations: 0 / 1.19 GB, free: 13.65 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.3729, allocations: 139.3 kB / 1.19 GB, free: 13.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3729, allocations: 0 / 1.19 GB, free: 13.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0006969/0.3736, allocations: 260.1 kB / 1.19 GB, free: 13.25 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3736, allocations: 51.41 kB / 1.19 GB, free: 13.18 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3738, allocations: 166.3 kB / 1.19 GB, free: 13.01 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3738, allocations: 33.7 kB / 1.19 GB, free: 12.97 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3739, allocations: 120.5 kB / 1.19 GB, free: 12.85 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.374, allocations: 39.73 kB / 1.19 GB, free: 12.81 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.3741, allocations: 41.7 kB / 1.19 GB, free: 12.77 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3742, allocations: 322.8 kB / 1.191 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3744, allocations: 59.95 kB / 1.191 GB, free: 12.38 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3746, allocations: 101.1 kB / 1.191 GB, free: 12.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3749, allocations: 157 kB / 1.191 GB, free: 12.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3749, allocations: 0 / 1.191 GB, free: 12.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004706/0.3754, allocations: 209.2 kB / 1.191 GB, free: 11.88 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3754, allocations: 4 kB / 1.191 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3754, allocations: 0 / 1.191 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3754, allocations: 4 kB / 1.191 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3756, allocations: 28.09 kB / 1.191 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3756, allocations: 4 kB / 1.191 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3757, allocations: 23.88 kB / 1.191 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3757, allocations: 4 kB / 1.191 GB, free: 11.82 MB / 1.139 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.0001553/0.3759, allocations: 146.2 kB / 1.191 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3759, allocations: 11.91 kB / 1.191 GB, free: 11.65 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.376, allocations: 16.78 kB / 1.191 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.376, allocations: 3.938 kB / 1.192 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.376, allocations: 8 kB / 1.192 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.376, allocations: 7.969 kB / 1.192 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.3769, allocations: 0.509 MB / 1.192 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3769, allocations: 0 / 1.192 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.377, allocations: 15.92 kB / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.377, allocations: 0 / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.377, allocations: 4 kB / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.377, allocations: 0 / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.377, allocations: 0 / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.3777, allocations: 387.3 kB / 1.192 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.3778, allocations: 15.92 kB / 1.192 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3778, allocations: 4 kB / 1.192 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3779, allocations: 15.98 kB / 1.192 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.378, allocations: 19.91 kB / 1.192 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.378, allocations: 11.98 kB / 1.192 GB, free: 10.58 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3782, allocations: 124.3 kB / 1.193 GB, free: 10.46 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3782, allocations: 4.062 kB / 1.193 GB, free: 10.45 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002847/0.3784, allocations: 31.95 kB / 1.193 GB, free: 10.42 MB / 1.139 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.001098/0.3795, allocations: 0.9204 MB / 1.194 GB, free: 9.48 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.38, allocations: 152 kB / 1.194 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.38, allocations: 0 / 1.194 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3802, allocations: 75.94 kB / 1.194 GB, free: 9.258 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3805, allocations: 26.36 kB / 1.194 GB, free: 9.234 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.3834, allocations: 1.975 MB / 1.196 GB, free: 7.148 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3835, allocations: 111.5 kB / 1.196 GB, free: 7.02 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 7.676e-05/0.3836, allocations: 25.42 kB / 1.196 GB, free: 6.996 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.716e-05/0.3837, allocations: 44.48 kB / 1.196 GB, free: 6.953 MB / 1.139 GB Notification: Performance of SimCode: time 5.31e-07/0.3837, allocations: 0 / 1.196 GB, free: 6.953 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.4187, allocations: 4.213 MB / 1.2 GB, free: 2.906 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 3.984 kB / 1.2 GB, free: 2.902 MB / 1.139 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.504991902038455] Failed to read output from testmodel.py, exit status != 0: 12.084688363946043 12.10242453 11.729954529 Calling exit ...