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.002081/0.002081, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002575/0.002575, allocations: 218.1 kB / 22.25 MB, free: 5.125 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.957 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.338/3.338, allocations: 0.5107 GB / 0.8158 GB, free: 16.19 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.002151/0.002151, allocations: 67.86 kB / 1.186 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4142, allocations: 181.9 MB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003628/0.4178, allocations: 1.862 MB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005238/0.4184, allocations: 171.5 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.4185, allocations: 11.94 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.4187, allocations: 31.72 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.4188, allocations: 15.8 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.4191, allocations: 67.92 kB / 1.366 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.4194, allocations: 175.5 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.4196, allocations: 55.36 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.4197, allocations: 75.77 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.4199, allocations: 67.69 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.4199, allocations: 20 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.074e-05/0.4199, allocations: 16 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.42, allocations: 39.91 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.4201, allocations: 79.58 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.4204, allocations: 187.3 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.69 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.0009168/0.4213, allocations: 422.4 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4214, allocations: 11.97 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.4214, allocations: 46.73 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.4215, allocations: 20.84 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.4218, allocations: 170.8 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4218, allocations: 12.36 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.4218, allocations: 16.38 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.4222, allocations: 166.2 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4222, allocations: 4 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4222, allocations: 4 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4222, allocations: 4 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.4226, allocations: 115.9 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.4234, allocations: 455.3 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.4237, allocations: 130.4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.4239, allocations: 68.8 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.4239, allocations: 0 / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.4242, allocations: 135.3 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.4242, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006881/0.4249, allocations: 259.5 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.4249, allocations: 55.41 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4251, allocations: 162 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4251, allocations: 29.7 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.4252, allocations: 128.4 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.4253, allocations: 31.81 kB / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.4254, allocations: 41.7 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4255, allocations: 326.8 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.4257, allocations: 59.94 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.4259, allocations: 106.5 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.4262, allocations: 152.9 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4262, allocations: 4 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004284/0.4267, allocations: 197.3 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4267, allocations: 9.562 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4267, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4267, allocations: 4 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4268, allocations: 27.92 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4268, allocations: 12.11 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.427, allocations: 19.88 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.427, allocations: 8 kB / 1.369 GB, free: 8.113 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.0001415/0.4271, allocations: 138.3 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.4272, allocations: 19.84 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.4272, allocations: 20.77 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4272, allocations: 4 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.4272, allocations: 7.938 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4272, allocations: 3.938 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.428, allocations: 0.5052 MB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.428, allocations: 0 / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4281, allocations: 15.97 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4282, allocations: 48 / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.4282, allocations: 11.98 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4282, allocations: 4 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4282, allocations: 0 / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.4289, allocations: 382.1 kB / 1.371 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.4289, allocations: 15.88 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.4289, allocations: 7.984 kB / 1.371 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.4291, allocations: 19.98 kB / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.4291, allocations: 23.91 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.4291, allocations: 7.984 kB / 1.371 GB, free: 6.863 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001071/0.4292, allocations: 120.1 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4292, allocations: 0 / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002763/0.4295, allocations: 31.95 kB / 1.371 GB, free: 6.715 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.00103/0.4306, allocations: 0.9193 MB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.431, allocations: 143.8 kB / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.431, allocations: 320 / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.4312, allocations: 83.88 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4315, allocations: 23.92 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.4342, allocations: 1.983 MB / 1.374 GB, free: 3.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.4346, allocations: 0.7242 MB / 1.375 GB, free: 2.691 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.576e-05/0.4346, allocations: 21.36 kB / 1.375 GB, free: 2.672 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.4347, allocations: 51.36 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.4347, allocations: 0 / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.4689, allocations: 3.597 MB / 1.378 GB, free: 15.17 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.64, allocations: 2.781 kB / 1.378 GB, free: 15.17 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 & /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.659553895005956] Failed to read output from testmodel.py, exit status != 0: 11.750946209998801 11.774661035 11.34974732 Calling exit ...