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.001942/0.001942, allocations: 78.31 kB / 19.01 MB, free: 2.566 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.002253/0.002253, allocations: 160.3 kB / 22.26 MB, free: 4.859 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.466/1.466, allocations: 177.2 MB / 202.6 MB, free: 7.941 MB / 190.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.041/3.041, allocations: 394.1 MB / 0.6379 GB, free: 12.14 MB / 0.6075 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.002975/0.002975, allocations: 63.89 kB / 1.008 GB, free: 7.82 MB / 0.9513 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5322, allocations: 181.8 MB / 1.186 GB, free: 1.652 MB / 1.123 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.004665/0.5369, allocations: 1.813 MB / 1.188 GB, free: 15.82 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.000706/0.5376, allocations: 167.5 kB / 1.188 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.5378, allocations: 7.938 kB / 1.188 GB, free: 15.65 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.538, allocations: 27.72 kB / 1.188 GB, free: 15.62 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.5382, allocations: 19.81 kB / 1.188 GB, free: 15.6 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.5385, allocations: 59.92 kB / 1.188 GB, free: 15.54 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.5389, allocations: 183.5 kB / 1.188 GB, free: 15.36 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.5392, allocations: 63.23 kB / 1.188 GB, free: 15.3 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.5393, allocations: 63.78 kB / 1.188 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.5395, allocations: 67.69 kB / 1.188 GB, free: 15.17 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.5395, allocations: 16 kB / 1.188 GB, free: 15.15 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.5395, allocations: 16 kB / 1.188 GB, free: 15.14 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.5396, allocations: 43.89 kB / 1.188 GB, free: 15.09 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.54, allocations: 59.72 kB / 1.188 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.5403, allocations: 191.2 kB / 1.189 GB, free: 14.85 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5403, allocations: 0 / 1.189 GB, free: 14.85 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5403, allocations: 4 kB / 1.189 GB, free: 14.84 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5403, allocations: 0 / 1.189 GB, free: 14.84 MB / 1.139 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.001059/0.5414, allocations: 414.5 kB / 1.189 GB, free: 14.4 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5414, allocations: 8.031 kB / 1.189 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.5415, allocations: 20.84 kB / 1.189 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.5419, allocations: 174.8 kB / 1.189 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.542, allocations: 16.31 kB / 1.189 GB, free: 14.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.542, allocations: 12.38 kB / 1.189 GB, free: 14.15 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.5425, allocations: 165.6 kB / 1.189 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5425, allocations: 7.922 kB / 1.189 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5425, allocations: 0 / 1.189 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.5425, allocations: 4 kB / 1.189 GB, free: 13.97 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.5428, allocations: 123.8 kB / 1.189 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000934/0.5438, allocations: 388.1 kB / 1.19 GB, free: 13.44 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.5441, allocations: 126.4 kB / 1.19 GB, free: 13.31 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.5443, allocations: 60.88 kB / 1.19 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.5443, allocations: 3.984 kB / 1.19 GB, free: 13.24 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/0.5446, allocations: 141.6 kB / 1.19 GB, free: 13.09 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.5446, allocations: 0 / 1.19 GB, free: 13.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007637/0.5454, allocations: 257.4 kB / 1.19 GB, free: 12.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.5455, allocations: 55.39 kB / 1.19 GB, free: 12.77 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.5457, allocations: 161.4 kB / 1.191 GB, free: 12.6 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.5457, allocations: 29.7 kB / 1.191 GB, free: 12.57 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.5459, allocations: 128.5 kB / 1.191 GB, free: 12.44 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.5459, allocations: 31.8 kB / 1.191 GB, free: 12.41 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.546, allocations: 41.7 kB / 1.191 GB, free: 12.36 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0003217/0.5463, allocations: 322.8 kB / 1.191 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.5465, allocations: 63.95 kB / 1.191 GB, free: 11.97 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.5467, allocations: 101.1 kB / 1.191 GB, free: 11.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.5471, allocations: 153 kB / 1.191 GB, free: 11.69 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5471, allocations: 0 / 1.191 GB, free: 11.69 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005652/0.5477, allocations: 209.2 kB / 1.192 GB, free: 11.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5477, allocations: 4 kB / 1.192 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5477, allocations: 4 kB / 1.192 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5477, allocations: 0 / 1.192 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5478, allocations: 27.97 kB / 1.192 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5478, allocations: 0 / 1.192 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.548, allocations: 24 kB / 1.192 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.548, allocations: 15.94 kB / 1.192 GB, free: 11.4 MB / 1.139 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.0001668/0.5481, allocations: 134.3 kB / 1.192 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.5482, allocations: 19.84 kB / 1.192 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.5482, allocations: 12.78 kB / 1.192 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5482, allocations: 4 kB / 1.192 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5482, allocations: 0 / 1.192 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5482, allocations: 7.922 kB / 1.192 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.549, allocations: 476.8 kB / 1.192 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.549, allocations: 4 kB / 1.192 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5492, allocations: 15.92 kB / 1.192 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5492, allocations: 0 / 1.192 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.5492, allocations: 8 kB / 1.192 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5492, allocations: 0 / 1.192 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5492, allocations: 4.031 kB / 1.192 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.55, allocations: 399.2 kB / 1.193 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.55, allocations: 11.94 kB / 1.193 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.5501, allocations: 3.938 kB / 1.193 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5502, allocations: 19.97 kB / 1.193 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.5503, allocations: 15.97 kB / 1.193 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.5503, allocations: 8 kB / 1.193 GB, free: 10.22 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001118/0.5504, allocations: 115.2 kB / 1.193 GB, free: 10.11 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5504, allocations: 0 / 1.193 GB, free: 10.11 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000271/0.5507, allocations: 28 kB / 1.193 GB, free: 10.08 MB / 1.139 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.0001478/0.5508, allocations: 121.1 kB / 1.193 GB, free: 9.957 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.5513, allocations: 143.8 kB / 1.193 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5513, allocations: 0 / 1.193 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.5515, allocations: 79.88 kB / 1.193 GB, free: 9.738 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.552, allocations: 28.17 kB / 1.193 GB, free: 9.711 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/0.5529, allocations: 312.5 kB / 1.194 GB, free: 9.379 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.5531, allocations: 107.6 kB / 1.194 GB, free: 9.254 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 7.574e-05/0.5531, allocations: 21.48 kB / 1.194 GB, free: 9.234 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.5532, allocations: 20.5 kB / 1.194 GB, free: 9.215 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/0.5532, allocations: 0 / 1.194 GB, free: 9.215 MB / 1.139 GB Notification: Performance of Templates: time 0.00621/0.5594, allocations: 1.921 MB / 1.196 GB, free: 7.332 MB / 1.139 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: 9.657323598861694] Failed to read output from testmodel.py, exit status != 0: 0.5694259833544493 0.587216969 0.04267316 Calling exit ...