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.001303/0.001303, allocations: 71.75 kB / 19.76 MB, free: 1.883 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.001462/0.001462, allocations: 157.2 kB / 23.01 MB, free: 4.57 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.358/1.358, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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 2.78/2.78, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] 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.002261/0.002261, allocations: 71.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9072, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.00283/0.91, allocations: 1.824 MB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.9104, allocations: 174.2 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.9105, allocations: 8.406 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.9107, allocations: 28.91 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.9108, allocations: 17.53 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.9109, allocations: 65.81 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.9112, allocations: 175.4 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.9114, allocations: 58.17 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.9115, allocations: 61.78 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.9116, allocations: 70.06 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.9116, allocations: 16.84 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.9117, allocations: 21.03 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.9117, allocations: 41.7 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.9118, allocations: 61.86 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.9121, allocations: 198.3 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.9121, allocations: 0 / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9121, allocations: 0 / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9121, allocations: 0.7812 kB / 1.189 GB, free: 14.42 MB / 1.076 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.0007617/0.9128, allocations: 407.5 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9129, allocations: 12.91 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.9129, allocations: 19.61 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.9132, allocations: 176.1 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.9132, allocations: 11.33 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.9132, allocations: 16.03 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.9136, allocations: 154.9 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.9136, allocations: 5.375 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.9136, allocations: 5.781 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9137, allocations: 3.953 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.914, allocations: 123.6 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.9146, allocations: 377.8 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.9149, allocations: 130.7 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.9151, allocations: 68.22 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.9151, allocations: 5.844 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.9154, allocations: 143.7 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.9154, allocations: 0 / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0006416/0.916, allocations: 255.5 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.916, allocations: 52.53 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.9162, allocations: 162.9 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.9162, allocations: 37.02 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.9162, allocations: 126.5 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.9163, allocations: 31.84 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.9163, allocations: 38.39 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.9164, allocations: 323.6 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.9165, allocations: 59.94 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.9167, allocations: 100.2 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.917, allocations: 160.9 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.917, allocations: 0 / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004172/0.9174, allocations: 203.9 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9175, allocations: 6.578 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.9175, allocations: 5.625 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.9175, allocations: 3.219 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.9176, allocations: 25.22 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9176, allocations: 6.781 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.9177, allocations: 26.12 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.9178, allocations: 4.438 kB / 1.192 GB, free: 12.27 MB / 1.076 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 9.977e-05/0.9179, allocations: 134.4 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.9179, allocations: 19.52 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.9179, allocations: 16.67 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9179, allocations: 1.531 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9179, allocations: 1.391 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9179, allocations: 1.703 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.9186, allocations: 475.9 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.9186, allocations: 5.312 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.9187, allocations: 17.02 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9187, allocations: 1.625 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.9187, allocations: 7.5 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9187, allocations: 0 / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9187, allocations: 1.719 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.9194, allocations: 385.9 kB / 1.193 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.9194, allocations: 17 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.9194, allocations: 3.922 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.9196, allocations: 16.62 kB / 1.194 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.9196, allocations: 18.36 kB / 1.194 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.9196, allocations: 13.75 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.9197, allocations: 119 kB / 1.194 GB, free: 11.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9197, allocations: 3.938 kB / 1.194 GB, free: 11.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002662/0.92, allocations: 33.7 kB / 1.194 GB, free: 11.45 MB / 1.076 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.0001102/0.9201, allocations: 108.5 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.9205, allocations: 148.6 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9205, allocations: 0.9375 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.9207, allocations: 81.33 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.921, allocations: 25.78 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.9217, allocations: 335.9 kB / 1.194 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.9218, allocations: 120.9 kB / 1.194 GB, free: 10.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.9218, allocations: 23.03 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.9218, allocations: 0 / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of Templates: time 0.00441/0.9262, allocations: 2.085 MB / 1.197 GB, free: 10.77 MB / 1.076 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: 11.130251914029941] Failed to read output from testmodel.py, exit status != 0: 0.934614015975967 0.946020976 0.031264699 Calling exit ...