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.001645/0.001645, allocations: 74.12 kB / 19.01 MB, free: 2.746 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.002005/0.002005, allocations: 162.9 kB / 22.26 MB, free: 5.207 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.386/1.386, allocations: 177.2 MB / 202.6 MB, free: 8.004 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 2.876/2.876, allocations: 394.2 MB / 0.6379 GB, free: 12.11 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.002166/0.002166, allocations: 77.59 kB / 1.008 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3752, allocations: 181.8 MB / 1.185 GB, free: 2.141 MB / 1.123 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.00362/0.3788, allocations: 1.832 MB / 1.187 GB, free: 300 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0004882/0.3793, allocations: 167.5 kB / 1.187 GB, free: 132 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3794, allocations: 7.938 kB / 1.187 GB, free: 124 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3796, allocations: 19.8 kB / 1.187 GB, free: 104 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.3797, allocations: 23.8 kB / 1.187 GB, free: 80 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3799, allocations: 67.86 kB / 1.187 GB, free: 12 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.3802, allocations: 167.7 kB / 1.188 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.3804, allocations: 63.14 kB / 1.188 GB, free: 15.78 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3805, allocations: 71.78 kB / 1.188 GB, free: 15.71 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.3807, allocations: 63.69 kB / 1.188 GB, free: 15.65 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.3807, allocations: 16 kB / 1.188 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 3.832e-05/0.3808, allocations: 20 kB / 1.188 GB, free: 15.61 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3808, allocations: 43.83 kB / 1.188 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.3809, allocations: 55.73 kB / 1.188 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3812, allocations: 195.2 kB / 1.188 GB, free: 15.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3812, allocations: 4 kB / 1.188 GB, free: 15.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3812, allocations: 0 / 1.188 GB, free: 15.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3812, allocations: 0 / 1.188 GB, free: 15.32 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.0009364/0.3822, allocations: 410.4 kB / 1.189 GB, free: 14.88 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3822, allocations: 12.03 kB / 1.189 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.3823, allocations: 46.73 kB / 1.189 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.3823, allocations: 20.78 kB / 1.189 GB, free: 14.8 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3826, allocations: 178.8 kB / 1.189 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3827, allocations: 8.375 kB / 1.189 GB, free: 14.59 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.3827, allocations: 16.38 kB / 1.189 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.3831, allocations: 157.5 kB / 1.189 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3831, allocations: 0 / 1.189 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3831, allocations: 7.984 kB / 1.189 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3831, allocations: 8 kB / 1.189 GB, free: 14.4 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.3835, allocations: 123.8 kB / 1.189 GB, free: 14.28 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.3843, allocations: 411.5 kB / 1.189 GB, free: 13.83 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.3846, allocations: 134.4 kB / 1.19 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3848, allocations: 64.8 kB / 1.19 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3848, allocations: 0 / 1.19 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.3851, allocations: 135.3 kB / 1.19 GB, free: 13.48 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3851, allocations: 4 kB / 1.19 GB, free: 13.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007093/0.3859, allocations: 257.4 kB / 1.19 GB, free: 13.22 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.3859, allocations: 55.39 kB / 1.19 GB, free: 13.15 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3861, allocations: 162.2 kB / 1.19 GB, free: 12.98 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3861, allocations: 33.7 kB / 1.19 GB, free: 12.95 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3862, allocations: 124.5 kB / 1.19 GB, free: 12.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.3863, allocations: 35.73 kB / 1.19 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.3863, allocations: 41.7 kB / 1.19 GB, free: 12.74 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3865, allocations: 326.8 kB / 1.191 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3867, allocations: 55.95 kB / 1.191 GB, free: 12.36 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.3869, allocations: 105.1 kB / 1.191 GB, free: 12.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.3872, allocations: 160.9 kB / 1.191 GB, free: 12.06 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3872, allocations: 0 / 1.191 GB, free: 12.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004559/0.3877, allocations: 205.3 kB / 1.191 GB, free: 11.85 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3877, allocations: 4 kB / 1.191 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3877, allocations: 4 kB / 1.191 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3877, allocations: 0 / 1.191 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3879, allocations: 27.98 kB / 1.191 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3879, allocations: 3.938 kB / 1.191 GB, free: 11.81 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.388, allocations: 19.88 kB / 1.191 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.388, allocations: 12.12 kB / 1.191 GB, free: 11.78 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.0001461/0.3882, allocations: 142.3 kB / 1.191 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3882, allocations: 15.91 kB / 1.192 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.3883, allocations: 20.7 kB / 1.192 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3883, allocations: 7.938 kB / 1.192 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3883, allocations: 0 / 1.192 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3883, allocations: 0 / 1.192 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008318/0.3891, allocations: 0.4973 MB / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3891, allocations: 4 kB / 1.192 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3892, allocations: 19.92 kB / 1.192 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3892, allocations: 4 kB / 1.192 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3892, allocations: 3.984 kB / 1.192 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3892, allocations: 0 / 1.192 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3892, allocations: 0 / 1.192 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.39, allocations: 385.8 kB / 1.192 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.39, allocations: 16 kB / 1.192 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.39, allocations: 8 kB / 1.192 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3902, allocations: 19.97 kB / 1.192 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3902, allocations: 19.91 kB / 1.192 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3903, allocations: 4 kB / 1.192 GB, free: 10.55 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000115/0.3904, allocations: 123.5 kB / 1.193 GB, free: 10.43 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.3904, allocations: 0 / 1.193 GB, free: 10.43 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002915/0.3907, allocations: 35.94 kB / 1.193 GB, free: 10.4 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.001074/0.3917, allocations: 0.9154 MB / 1.194 GB, free: 9.457 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.3922, allocations: 154.5 kB / 1.194 GB, free: 9.309 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3922, allocations: 0 / 1.194 GB, free: 9.309 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.3924, allocations: 75.94 kB / 1.194 GB, free: 9.234 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3927, allocations: 29.61 kB / 1.194 GB, free: 9.207 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.3956, allocations: 1.978 MB / 1.196 GB, free: 7.117 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3957, allocations: 111.6 kB / 1.196 GB, free: 6.988 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 9.049e-05/0.3958, allocations: 25.59 kB / 1.196 GB, free: 6.965 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.3959, allocations: 44.48 kB / 1.196 GB, free: 6.922 MB / 1.139 GB Notification: Performance of SimCode: time 7.21e-07/0.3959, allocations: 4 kB / 1.196 GB, free: 6.918 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.4326, allocations: 4.202 MB / 1.2 GB, free: 2.883 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 11.98 kB / 1.2 GB, free: 2.871 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation_fmu --startTime=0 --stopTime=6.3072e+07 --stepSize=25228.8 --timeout=800 --tolerance=1e-06 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.375002461019903] Failed to read output from testmodel.py, exit status != 0: 12.203669958980754 12.229494065 11.843548816 Calling exit ...