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.001354/0.001354, allocations: 107.2 kB / 16.46 MB, free: 6.453 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.001489/0.001489, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.429/3.429, allocations: 0.5107 GB / 0.8123 GB, free: 17.32 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.003046/0.003046, allocations: 75.47 kB / 1.181 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3894, allocations: 181.8 MB / 1.358 GB, free: 108 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.00505/0.3944, allocations: 1.854 MB / 1.36 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.3952, allocations: 175.4 kB / 1.36 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.3954, allocations: 3.938 kB / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3957, allocations: 27.8 kB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3959, allocations: 27.78 kB / 1.36 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3962, allocations: 63.88 kB / 1.36 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.3966, allocations: 175.6 kB / 1.361 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.3968, allocations: 59.08 kB / 1.361 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.397, allocations: 71.72 kB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3972, allocations: 79.66 kB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.3973, allocations: 20 kB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.603e-05/0.3973, allocations: 16 kB / 1.361 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.3974, allocations: 35.92 kB / 1.361 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.3975, allocations: 71.66 kB / 1.361 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.3979, allocations: 199.2 kB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3979, allocations: 0 / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3979, allocations: 0 / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3979, 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.001192/0.3991, allocations: 478.7 kB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3991, allocations: 8.031 kB / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.28e-05/0.3992, allocations: 42.73 kB / 1.362 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.3993, allocations: 20.8 kB / 1.362 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3996, allocations: 238.3 kB / 1.362 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3996, allocations: 8.375 kB / 1.362 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.3997, allocations: 16.38 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.4001, allocations: 162.1 kB / 1.362 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4001, allocations: 3.984 kB / 1.362 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4001, allocations: 8 kB / 1.362 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4001, allocations: 3.984 kB / 1.362 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.4005, allocations: 118.3 kB / 1.362 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.4014, allocations: 484.3 kB / 1.363 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.4018, allocations: 130.5 kB / 1.363 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.4019, allocations: 68.81 kB / 1.363 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.402, allocations: 3.938 kB / 1.363 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.4023, allocations: 142 kB / 1.363 GB, free: 11.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.4023, allocations: 0 / 1.363 GB, free: 11.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007436/0.403, allocations: 249.4 kB / 1.363 GB, free: 10.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.4031, allocations: 55.41 kB / 1.363 GB, free: 10.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4033, allocations: 170.2 kB / 1.363 GB, free: 10.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.4033, allocations: 33.7 kB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.4034, allocations: 120.4 kB / 1.364 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.4034, allocations: 35.73 kB / 1.364 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.4035, allocations: 41.7 kB / 1.364 GB, free: 10.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4037, allocations: 322.8 kB / 1.364 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.4039, allocations: 59.95 kB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.4041, allocations: 102.8 kB / 1.364 GB, free: 9.922 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.4044, allocations: 161 kB / 1.364 GB, free: 9.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4044, allocations: 4 kB / 1.364 GB, free: 9.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004749/0.4049, allocations: 197.3 kB / 1.364 GB, free: 9.543 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4049, allocations: 8 kB / 1.364 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4049, allocations: 0 / 1.364 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.405, allocations: 4 kB / 1.364 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4051, allocations: 28.03 kB / 1.364 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4051, allocations: 8 kB / 1.364 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4052, allocations: 23.88 kB / 1.364 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4053, allocations: 8 kB / 1.365 GB, free: 9.465 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.0001425/0.4054, allocations: 147.8 kB / 1.365 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.4054, allocations: 15.91 kB / 1.365 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.4055, allocations: 16.84 kB / 1.365 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4055, allocations: 4 kB / 1.365 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4055, allocations: 0 / 1.365 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4055, allocations: 3.984 kB / 1.365 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.4064, allocations: 0.5295 MB / 1.365 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4064, allocations: 0 / 1.365 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4065, allocations: 15.98 kB / 1.365 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4065, allocations: 0 / 1.365 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4065, allocations: 7.984 kB / 1.365 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4065, allocations: 8 kB / 1.365 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4065, allocations: 0 / 1.365 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.4073, allocations: 389.8 kB / 1.366 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.4073, allocations: 92.98 kB / 1.366 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.4074, allocations: 4 kB / 1.366 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4075, allocations: 20.08 kB / 1.366 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.4076, allocations: 27.89 kB / 1.366 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4076, allocations: 4 kB / 1.366 GB, free: 8.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001092/0.4077, allocations: 123.4 kB / 1.366 GB, free: 7.977 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4077, allocations: 0 / 1.366 GB, free: 7.977 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002914/0.408, allocations: 28 kB / 1.366 GB, free: 7.949 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.001109/0.4091, allocations: 0.9193 MB / 1.367 GB, free: 7.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.4096, allocations: 147.8 kB / 1.367 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4096, allocations: 4.312 kB / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.4098, allocations: 86.11 kB / 1.367 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.4101, allocations: 23.92 kB / 1.367 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.4131, allocations: 1.972 MB / 1.369 GB, free: 4.672 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4134, allocations: 0.728 MB / 1.37 GB, free: 3.918 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.606e-05/0.4135, allocations: 25.36 kB / 1.37 GB, free: 3.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4136, allocations: 47.34 kB / 1.37 GB, free: 3.844 MB / 1.061 GB Notification: Performance of SimCode: time 5e-07/0.4136, allocations: 0 / 1.37 GB, free: 3.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.4453, allocations: 3.435 MB / 1.373 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.958, allocations: 10.44 kB / 1.373 GB, free: 0.5547 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 & /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: 16.02185176499188] Failed to read output from testmodel.py, exit status != 0: 9.029018985980656 9.045589884 8.644643554 Calling exit ...