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.001523/0.001523, 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.001739/0.001739, allocations: 220.2 kB / 22.26 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.992 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.713/3.713, allocations: 0.5107 GB / 0.8158 GB, free: 16.22 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.003043/0.003043, allocations: 72.88 kB / 1.186 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5411, allocations: 181.9 MB / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003855/0.545, allocations: 1.858 MB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.5455, allocations: 187.4 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.5457, allocations: 4 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.5459, allocations: 27.72 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.546, allocations: 15.81 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.5462, allocations: 67.86 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.5465, allocations: 171.6 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.5468, allocations: 66.02 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.5469, allocations: 71.78 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.547, allocations: 79.61 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.5471, allocations: 16 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.086e-05/0.5471, allocations: 16 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.5472, allocations: 39.91 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.5473, allocations: 71.66 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.5476, allocations: 195.1 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5476, allocations: 3.984 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5476, allocations: 0 / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5476, allocations: 0 / 1.367 GB, free: 11.2 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.0009656/0.5486, allocations: 420 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5486, allocations: 12.03 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.5487, allocations: 16.84 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.549, allocations: 170.9 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.5491, allocations: 12.31 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.5491, allocations: 16.38 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.5495, allocations: 162.5 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5495, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.5495, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5495, allocations: 4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.5499, allocations: 119.9 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.5508, allocations: 459.3 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.5512, allocations: 126.5 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.5513, allocations: 64.86 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.5514, allocations: 3.938 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.5517, allocations: 143.2 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.5517, allocations: 0 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007123/0.5524, allocations: 252.4 kB / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.5525, allocations: 51.41 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5526, allocations: 166 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.5527, allocations: 37.69 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5528, allocations: 124.5 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.5528, allocations: 27.75 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.5529, allocations: 37.7 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5531, allocations: 330.8 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.5533, allocations: 55.95 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.5535, allocations: 113 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.5538, allocations: 153 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5538, allocations: 0 / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004374/0.5543, allocations: 197.3 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5543, allocations: 4 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5543, allocations: 4 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5543, allocations: 0 / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.5545, allocations: 39.98 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5545, allocations: 3.984 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.5546, allocations: 19.92 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.5546, allocations: 15.98 kB / 1.37 GB, free: 7.676 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.0001609/0.5548, allocations: 133.8 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.5548, allocations: 23.83 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.5549, allocations: 16.78 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5549, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5549, allocations: 0 / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5549, allocations: 0 / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/0.5557, allocations: 0.509 MB / 1.371 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5557, allocations: 0 / 1.371 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5558, allocations: 19.98 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5558, allocations: 0 / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5559, allocations: 4 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5559, allocations: 0 / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5559, allocations: 4 kB / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.5566, allocations: 383.2 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.5566, allocations: 19.83 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.5567, allocations: 8.062 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5568, allocations: 11.98 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.5569, allocations: 23.89 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.5569, allocations: 8 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001415/0.557, allocations: 124.1 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.557, allocations: 0 / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002866/0.5573, allocations: 31.95 kB / 1.371 GB, free: 6.289 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.0001685/0.5575, allocations: 108.6 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.558, allocations: 151.8 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.558, allocations: 0 / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.5582, allocations: 74.06 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.5585, allocations: 23.05 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.5593, allocations: 324.7 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.5597, allocations: 0.7202 MB / 1.373 GB, free: 4.848 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.406e-05/0.5598, allocations: 25.36 kB / 1.373 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.5599, allocations: 19.44 kB / 1.373 GB, free: 4.805 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.5599, allocations: 0 / 1.373 GB, free: 4.805 MB / 1.061 GB Notification: Performance of Templates: time 0.006001/0.5659, allocations: 1.918 MB / 1.374 GB, free: 2.902 MB / 1.061 GB " [Timeout remaining time 299] 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: 10.557401482015848] Failed to read output from testmodel.py, exit status != 0: 0.5775609519332647 0.5917288319999999 0.04070609 Calling exit ...