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.001306/0.001306, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001487/0.001487, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.773 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.327/3.327, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002621/0.002621, allocations: 71.95 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.41, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.004044/0.414, allocations: 1.818 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000504/0.4145, allocations: 171.5 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4147, allocations: 3.938 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.4148, allocations: 31.73 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.415, allocations: 15.8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.4152, allocations: 67.92 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.4155, allocations: 171.6 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.4157, allocations: 59.36 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4158, allocations: 67.77 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.416, allocations: 63.69 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.4161, allocations: 20 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.588e-05/0.4161, allocations: 20 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.4162, allocations: 51.77 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.4163, allocations: 59.72 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.4166, allocations: 191.3 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4166, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4166, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.4167, allocations: 0 / 1.366 GB, free: 11.31 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.001057/0.4177, allocations: 410.5 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4178, allocations: 11.97 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.4178, allocations: 50.73 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.4179, allocations: 16.84 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4182, allocations: 174.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4182, allocations: 8.375 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.4183, allocations: 20.36 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.4186, allocations: 158 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4187, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.4187, allocations: 8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4187, allocations: 4 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.419, allocations: 121 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.4199, allocations: 415.4 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.4202, allocations: 130.4 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.4204, allocations: 68.8 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4205, allocations: 4 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.4208, allocations: 133.8 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.4208, allocations: 0 / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007138/0.4215, allocations: 261.3 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.4216, allocations: 59.41 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4217, allocations: 165.1 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.4218, allocations: 29.7 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4219, allocations: 128.5 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.4219, allocations: 27.75 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.422, allocations: 41.7 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4222, allocations: 326.8 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.4224, allocations: 59.94 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.4226, allocations: 107.4 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4229, allocations: 153 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4229, allocations: 0 / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004621/0.4234, allocations: 205.2 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4234, allocations: 8.125 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4234, allocations: 4 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4234, allocations: 4 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4236, allocations: 31.92 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4236, allocations: 3.984 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4237, allocations: 27.86 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.4237, allocations: 8 kB / 1.369 GB, free: 7.762 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.0001708/0.4239, allocations: 138.3 kB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.4239, allocations: 27.83 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.424, allocations: 16.78 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.424, allocations: 3.938 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.424, allocations: 0 / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.424, allocations: 0 / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.4249, allocations: 497.3 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4249, allocations: 0 / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.425, allocations: 19.98 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.425, allocations: 4 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4251, allocations: 3.984 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4251, allocations: 0 / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4251, allocations: 4 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.4258, allocations: 382.4 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.4258, allocations: 15.88 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4259, allocations: 15.92 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.426, allocations: 11.98 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.4261, allocations: 23.97 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4261, allocations: 7.984 kB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001135/0.4262, allocations: 124.3 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4262, allocations: 0 / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002835/0.4265, allocations: 31.95 kB / 1.371 GB, free: 6.387 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.00115/0.4276, allocations: 0.9193 MB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.4281, allocations: 147.8 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4281, allocations: 4 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4283, allocations: 75.88 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.4286, allocations: 25.05 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.4316, allocations: 1.979 MB / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4317, allocations: 119.4 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.124e-05/0.4318, allocations: 17.42 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4319, allocations: 43.36 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of SimCode: time 9.21e-07/0.4319, allocations: 0 / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.4675, allocations: 4.098 MB / 1.378 GB, free: 14.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.02, allocations: 10.45 kB / 1.378 GB, free: 14.96 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.956030388828367] Failed to read output from testmodel.py, exit status != 0: 12.132637517061085 12.148988719 11.729040466 Calling exit ...