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.001376/0.001376, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001529/0.001529, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.407/3.407, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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: translateModel(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation") translateModel(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation") [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.00212/0.00212, allocations: 72.53 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003454/0.3571, allocations: 1.818 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004882/0.3576, allocations: 171.4 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3577, allocations: 4 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3579, allocations: 23.73 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.358, allocations: 31.72 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3582, allocations: 67.86 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.3585, allocations: 175.6 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.3587, allocations: 55.08 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3588, allocations: 67.77 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3589, allocations: 67.62 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.359, allocations: 20 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.359, allocations: 16 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.3591, allocations: 39.89 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3592, allocations: 63.72 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3595, allocations: 191.3 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3595, allocations: 0 / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3595, allocations: 0 / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3595, allocations: 0 / 1.367 GB, free: 10.82 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.0009619/0.3605, allocations: 418.4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3605, allocations: 8.031 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.3606, allocations: 16.84 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.3609, allocations: 176.4 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3609, allocations: 8.375 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.361, allocations: 20.36 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3613, allocations: 166.7 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3614, allocations: 0 / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3614, allocations: 8 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3614, allocations: 0 / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.3617, allocations: 118.1 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.3625, allocations: 388 kB / 1.369 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.3628, allocations: 130.5 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.363, allocations: 60.88 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.363, allocations: 0 / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.3633, allocations: 147.1 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3633, allocations: 0 / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006902/0.364, allocations: 256.1 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3641, allocations: 51.41 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3643, allocations: 160.4 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.3643, allocations: 37.69 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3644, allocations: 124.5 kB / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.3644, allocations: 35.73 kB / 1.37 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.3645, allocations: 37.66 kB / 1.37 GB, free: 8.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3647, allocations: 330.8 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3648, allocations: 55.95 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3651, allocations: 110.8 kB / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3654, allocations: 153 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3654, allocations: 0 / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004489/0.3658, allocations: 205.2 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3659, allocations: 4 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3659, allocations: 0 / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3659, allocations: 4 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.366, allocations: 32.05 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.366, allocations: 7.984 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3661, allocations: 19.88 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3662, allocations: 8 kB / 1.37 GB, free: 7.379 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.00015/0.3663, allocations: 137.8 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3663, allocations: 15.88 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.3664, allocations: 16.78 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3664, allocations: 0 / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3664, allocations: 4 kB / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3664, allocations: 4 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008132/0.3672, allocations: 469.9 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3672, allocations: 0 / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3673, allocations: 19.98 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3673, allocations: 0 / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3673, allocations: 0 / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3673, allocations: 0 / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3673, allocations: 0 / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.3681, allocations: 395.2 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.3681, allocations: 19.86 kB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.3681, allocations: 12 kB / 1.372 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3683, allocations: 11.98 kB / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.3683, allocations: 15.97 kB / 1.372 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3684, allocations: 7.984 kB / 1.372 GB, free: 6.207 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001069/0.3685, allocations: 120.2 kB / 1.372 GB, free: 6.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3685, allocations: 4.062 kB / 1.372 GB, free: 6.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000279/0.3687, allocations: 32 kB / 1.372 GB, free: 6.055 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.0001325/0.3689, allocations: 107.2 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3693, allocations: 151.1 kB / 1.372 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3693, allocations: 0 / 1.372 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.3695, allocations: 80.19 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3698, allocations: 29.8 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.3706, allocations: 334.4 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.3707, allocations: 107.3 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.3708, allocations: 27.42 kB / 1.373 GB, free: 5.184 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/0.3708, allocations: 0 / 1.373 GB, free: 5.184 MB / 1.061 GB Notification: Performance of Templates: time 0.004347/0.3751, allocations: 2.082 MB / 1.375 GB, free: 3.109 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 11.796617282088846] Failed to read output from testmodel.py, exit status != 0: 0.38361571496352553 0.398912607 0.03623022 Calling exit ...