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.001322/0.001322, allocations: 81.86 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001055/0.001055, allocations: 174.9 kB / 24.84 MB, free: 8.859 MB / 18.57 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6175/0.6175, allocations: 115 MB / 376.8 MB, free: 7.492 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.946e-06/2.946e-06, allocations: 0 / 482.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.947e-05, allocations: 6.078 kB / 482.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001766/0.001795, allocations: 1.031 MB / 483.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003004, allocations: 1.158 MB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.003089, allocations: 1.156 kB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.00313, allocations: 19.69 kB / 485 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.003237, allocations: 48.84 kB / 485.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.003658, allocations: 164.8 kB / 485.3 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.003947, allocations: 326.6 kB / 485.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004069, allocations: 41 kB / 485.6 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.004342, allocations: 197 kB / 485.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.004506, allocations: 118.7 kB / 485.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.004555, allocations: 30 kB / 486 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.004629, allocations: 35.98 kB / 486 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.004673, allocations: 80.23 kB / 486.1 MB, free: 9.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.004744, allocations: 90.91 kB / 486.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.004971, allocations: 238.7 kB / 486.4 MB, free: 9.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004974, allocations: 3.938 kB / 486.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004975, allocations: 1.375 kB / 486.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.00498, allocations: 0 / 486.4 MB, free: 9.508 MB / 410.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.0007032/0.005684, allocations: 0.6595 MB / 487.1 MB, free: 9.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.005718, allocations: 12.11 kB / 487.1 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.005936, allocations: 71.95 kB / 487.1 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.164e-05/0.006017, allocations: 145.4 kB / 487.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.006153, allocations: 0.4905 MB / 487.8 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.006196, allocations: 36.75 kB / 487.8 MB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.006441, allocations: 211.6 kB / 488 MB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.006457, allocations: 7.875 kB / 488 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.006474, allocations: 13.72 kB / 488 MB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.006482, allocations: 9.375 kB / 488 MB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.0066, allocations: 75.89 kB / 488.1 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.007326, allocations: 0.7421 MB / 488.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.007554, allocations: 168.9 kB / 489 MB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.007627, allocations: 73.7 kB / 489.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.007657, allocations: 14.78 kB / 489.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.007877, allocations: 256.2 kB / 489.4 MB, free: 23.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.00788, allocations: 1.219 kB / 489.4 MB, free: 23.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.000442/0.008322, allocations: 344.2 kB / 489.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.008359, allocations: 115.1 kB / 489.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.008464, allocations: 230.9 kB / 490 MB, free: 22.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.00849, allocations: 41.27 kB / 490.1 MB, free: 22.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.008561, allocations: 172.4 kB / 490.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.008633, allocations: 153.8 kB / 490.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.008737, allocations: 115.8 kB / 490.5 MB, free: 22.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.008885, allocations: 0.5173 MB / 491 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.627e-05/0.008981, allocations: 61.05 kB / 491.1 MB, free: 21.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.009113, allocations: 211 kB / 491.3 MB, free: 21.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.009349, allocations: 293.1 kB / 491.6 MB, free: 21.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.009352, allocations: 1.5 kB / 491.6 MB, free: 21.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003775/0.00973, allocations: 364.5 kB / 491.9 MB, free: 21.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.009746, allocations: 9.625 kB / 491.9 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.009753, allocations: 2.75 kB / 491.9 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.009769, allocations: 6.594 kB / 491.9 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.009977, allocations: 96.91 kB / 492 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.009984, allocations: 11.31 kB / 492.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.01012, allocations: 60.8 kB / 492.1 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.01014, allocations: 18.84 kB / 492.1 MB, free: 21.32 MB / 426.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 0.0001166/0.01026, allocations: 191.6 kB / 492.3 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.01031, allocations: 45.78 kB / 492.4 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.01035, allocations: 30.81 kB / 492.4 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01035, allocations: 7.156 kB / 492.4 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.01036, allocations: 0 / 492.4 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01037, allocations: 5.062 kB / 492.4 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.01054, allocations: 207.9 kB / 492.6 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01054, allocations: 1.438 kB / 492.6 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.01075, allocations: 73.47 kB / 492.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01075, allocations: 2.344 kB / 492.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.01077, allocations: 12.05 kB / 492.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01078, allocations: 2.312 kB / 492.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01078, allocations: 3 kB / 492.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.01123, allocations: 440.9 kB / 493.1 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01126, allocations: 32.62 kB / 493.2 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.01129, allocations: 14.78 kB / 493.2 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01139, allocations: 29.17 kB / 493.2 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.01148, allocations: 67.16 kB / 493.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.0115, allocations: 11.5 kB / 493.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.0116, allocations: 157.8 kB / 493.4 MB, free: 20.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0116, allocations: 0.8438 kB / 493.4 MB, free: 20.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.01185, allocations: 86.55 kB / 493.5 MB, free: 20.51 MB / 426.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 0.0001265/0.01197, allocations: 124.7 kB / 493.6 MB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.01228, allocations: 245.4 kB / 493.9 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01228, allocations: 2.656 kB / 493.9 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.01242, allocations: 125.4 kB / 494 MB, free: 20.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01267, allocations: 53.88 kB / 494.1 MB, free: 20.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008352/0.01351, allocations: 0.5605 MB / 494.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.01356, allocations: 95.39 kB / 494.7 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000104/0.01366, allocations: 38.98 kB / 494.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.01382, allocations: 136.2 kB / 494.9 MB, free: 19.79 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01382, allocations: 0 / 494.9 MB, free: 19.79 MB / 426.7 MB Notification: Performance of Templates: time 0.007159/0.02098, allocations: 4.473 MB / 499.4 MB, free: 19.38 MB / 426.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.7001786562614143]