Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001085/0.001085, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002545, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.00114/0.00114, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002626, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09675/1.134, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6667/0.6667, allocations: 119.1 MB / 363.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07192/0.7386, allocations: 37.86 MB / 400.9 MB, free: 13.76 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 402.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.717e-05, allocations: 6.25 kB / 402.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001416/0.001433, allocations: 1.08 MB / 403.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002536, allocations: 1.174 MB / 404.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.002594, allocations: 0 / 404.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.002628, allocations: 15.75 kB / 404.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.002695, allocations: 51.5 kB / 404.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.002992, allocations: 151.7 kB / 404.8 MB, free: 9.895 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.003261, allocations: 327 kB / 405.1 MB, free: 9.574 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.00338, allocations: 34.48 kB / 405.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.003659, allocations: 223.5 kB / 405.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.003819, allocations: 115.7 kB / 405.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.00386, allocations: 32 kB / 405.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.003944, allocations: 36 kB / 405.5 MB, free: 9.145 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.003987, allocations: 55.8 kB / 405.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.004058, allocations: 75.86 kB / 405.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.004295, allocations: 199.3 kB / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.00431, allocations: 0 / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00431, allocations: 0 / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.004329, allocations: 0 / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007825/0.005112, allocations: 0.5933 MB / 406.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.005143, allocations: 12.03 kB / 406.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.005361, allocations: 146 kB / 406.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.005465, allocations: 146.3 kB / 406.7 MB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.005678, allocations: 0.4919 MB / 407.2 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.005724, allocations: 32.31 kB / 407.3 MB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.005956, allocations: 215.7 kB / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.00597, allocations: 4.141 kB / 407.5 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.005986, allocations: 12.38 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.005997, allocations: 12.06 kB / 407.5 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.006101, allocations: 63.91 kB / 407.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.006646, allocations: 0.4962 MB / 408 MB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.006866, allocations: 135.5 kB / 408.2 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.006932, allocations: 62.56 kB / 408.2 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.006968, allocations: 15.98 kB / 408.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.007196, allocations: 236 kB / 408.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 1.423e-06/0.007197, allocations: 0 / 408.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003255/0.007523, allocations: 253.8 kB / 408.7 MB, free: 5.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.007578, allocations: 118.8 kB / 408.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007683, allocations: 175.7 kB / 409 MB, free: 5.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.007714, allocations: 45.7 kB / 409.1 MB, free: 5.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.007762, allocations: 113.3 kB / 409.2 MB, free: 5.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.007845, allocations: 154.7 kB / 409.3 MB, free: 4.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.00793, allocations: 106.3 kB / 409.4 MB, free: 4.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.008022, allocations: 354.7 kB / 409.8 MB, free: 4.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.008085, allocations: 57.28 kB / 409.8 MB, free: 4.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.008195, allocations: 164.7 kB / 410 MB, free: 4.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.008391, allocations: 261.9 kB / 410.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.008395, allocations: 0 / 410.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002667/0.008661, allocations: 281.5 kB / 410.5 MB, free: 3.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.008676, allocations: 15.91 kB / 410.5 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008682, allocations: 4 kB / 410.5 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.008693, allocations: 4 kB / 410.6 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.008906, allocations: 115.8 kB / 410.7 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.008912, allocations: 4 kB / 410.7 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.009026, allocations: 59.7 kB / 410.7 MB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.009042, allocations: 20 kB / 410.7 MB, free: 3.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.384e-05/0.009136, allocations: 147.7 kB / 410.9 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.009171, allocations: 39.97 kB / 410.9 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.00921, allocations: 33.95 kB / 411 MB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.009214, allocations: 8 kB / 411 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.009218, allocations: 0 / 411 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.009225, allocations: 3.984 kB / 411 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.009383, allocations: 165.6 kB / 411.1 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009385, allocations: 0 / 411.1 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.009593, allocations: 83.89 kB / 411.2 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.009613, allocations: 27.75 kB / 411.2 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.009617, allocations: 11.98 kB / 411.3 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.009635, allocations: 12 kB / 411.3 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.009636, allocations: 0 / 411.3 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.009638, allocations: 4 kB / 411.3 MB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.009955, allocations: 331.1 kB / 411.6 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.009983, allocations: 7.984 kB / 411.6 MB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.01007, allocations: 31.97 kB / 411.6 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.01015, allocations: 67.84 kB / 411.7 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.01017, allocations: 15.98 kB / 411.7 MB, free: 2.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.006e-05/0.0102, allocations: 42.78 kB / 411.8 MB, free: 2.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0102, allocations: 3.938 kB / 411.8 MB, free: 2.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.01038, allocations: 87.89 kB / 411.8 MB, free: 2.316 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 8.266e-05/0.01047, allocations: 93.2 kB / 411.9 MB, free: 2.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.01073, allocations: 242.1 kB / 412.2 MB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.01074, allocations: 3.984 kB / 412.2 MB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01085, allocations: 122.5 kB / 412.3 MB, free: 1.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.01104, allocations: 74.23 kB / 412.4 MB, free: 1.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.01219, allocations: 0.5362 MB / 412.9 MB, free: 1.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.192e-05/0.01224, allocations: 109.2 kB / 413 MB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.014e-05/0.01233, allocations: 38.97 kB / 413.1 MB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.01247, allocations: 107.3 kB / 413.2 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01247, allocations: 0 / 413.2 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of Templates: time 0.005415/0.01788, allocations: 4.045 MB / 417.2 MB, free: 12.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4711162466555834]