Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001879/0.001879, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002075/0.002075, allocations: 169.2 kB / 23.53 MB, free: 0.8867 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.054/1.054, allocations: 115 MB / 375.3 MB, free: 7.574 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 480.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.202e-05, allocations: 5.25 kB / 480.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003256/0.003288, allocations: 1.946 MB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004567, allocations: 0.7161 MB / 483.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.004752, allocations: 3.688 kB / 483.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.412e-05/0.004816, allocations: 23.11 kB / 483.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.004984, allocations: 44.02 kB / 483.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.005564, allocations: 181.7 kB / 483.8 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.005987, allocations: 337.5 kB / 484.1 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.00614, allocations: 30.58 kB / 484.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.006567, allocations: 193.9 kB / 484.3 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.006803, allocations: 127.4 kB / 484.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.006878, allocations: 29.88 kB / 484.5 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.006983, allocations: 32.16 kB / 484.5 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.007045, allocations: 80.16 kB / 484.6 MB, free: 9.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.007159, allocations: 98.89 kB / 484.7 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.007607, allocations: 343.9 kB / 485 MB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.00761, allocations: 1.344 kB / 485 MB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007611, allocations: 0.9375 kB / 485 MB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.007625, allocations: 0 / 485 MB, free: 9.398 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.001385/0.009009, allocations: 0.6727 MB / 485.7 MB, free: 8.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.00907, allocations: 9.312 kB / 485.7 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.009596, allocations: 77.14 kB / 485.8 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.009991, allocations: 198.8 kB / 486 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.01033, allocations: 0.4899 MB / 486.5 MB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.01042, allocations: 35.22 kB / 486.5 MB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.01099, allocations: 266.3 kB / 486.8 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.01102, allocations: 1.625 kB / 486.8 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.01105, allocations: 15.12 kB / 486.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.01107, allocations: 5.562 kB / 486.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.01157, allocations: 177.1 kB / 486.9 MB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.01309, allocations: 0.8149 MB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.01361, allocations: 222.7 kB / 488 MB, free: 23.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.01385, allocations: 131.2 kB / 488.1 MB, free: 23.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.0139, allocations: 9.219 kB / 488.1 MB, free: 23.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004954/0.0144, allocations: 337.4 kB / 488.4 MB, free: 22.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.0144, allocations: 1.375 kB / 488.4 MB, free: 22.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.001062/0.01546, allocations: 496.1 kB / 488.9 MB, free: 22.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.01551, allocations: 122 kB / 489 MB, free: 22.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01573, allocations: 258.8 kB / 489.3 MB, free: 22.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.01577, allocations: 41.98 kB / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01587, allocations: 172.8 kB / 489.5 MB, free: 22.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.01599, allocations: 160 kB / 489.7 MB, free: 22.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.01616, allocations: 126.6 kB / 489.8 MB, free: 22.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003002/0.01646, allocations: 0.5243 MB / 490.3 MB, free: 21.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.01676, allocations: 137.7 kB / 490.5 MB, free: 21.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.01712, allocations: 294.3 kB / 490.7 MB, free: 21.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.01771, allocations: 434.5 kB / 491.2 MB, free: 20.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.01771, allocations: 1.219 kB / 491.2 MB, free: 20.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008655/0.01858, allocations: 0.5054 MB / 491.7 MB, free: 20.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.0186, allocations: 6.719 kB / 491.7 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.01861, allocations: 3.719 kB / 491.7 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.01863, allocations: 6 kB / 491.7 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.019, allocations: 94.55 kB / 491.8 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.01901, allocations: 13 kB / 491.8 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.01929, allocations: 57.58 kB / 491.8 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.01933, allocations: 20.41 kB / 491.9 MB, free: 20.73 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.0001977/0.01952, allocations: 209 kB / 492.1 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.0196, allocations: 51.16 kB / 492.1 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.01967, allocations: 34.05 kB / 492.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01967, allocations: 5.375 kB / 492.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.01969, allocations: 5.281 kB / 492.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.01969, allocations: 3.875 kB / 492.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.02001, allocations: 258.3 kB / 492.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02001, allocations: 0 / 492.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.0204, allocations: 71.58 kB / 492.5 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.0204, allocations: 6.266 kB / 492.5 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.02044, allocations: 12.59 kB / 492.5 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.02044, allocations: 5.531 kB / 492.5 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02044, allocations: 0 / 492.5 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.02153, allocations: 0.6178 MB / 493.1 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.02156, allocations: 24.64 kB / 493.2 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.02161, allocations: 11.62 kB / 493.2 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.02183, allocations: 31.86 kB / 493.2 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.02198, allocations: 72.16 kB / 493.3 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.02202, allocations: 14.25 kB / 493.3 MB, free: 19.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.02218, allocations: 181 kB / 493.5 MB, free: 19.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02218, allocations: 5.219 kB / 493.5 MB, free: 19.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.02251, allocations: 87.55 kB / 493.5 MB, free: 19.75 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.0001712/0.02268, allocations: 114.6 kB / 493.7 MB, free: 19.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.02339, allocations: 390.4 kB / 494 MB, free: 19.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02339, allocations: 1.375 kB / 494 MB, free: 19.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.02373, allocations: 197.6 kB / 494.2 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.02409, allocations: 53.36 kB / 494.3 MB, free: 19.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02515, allocations: 0.6032 MB / 494.9 MB, free: 19.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.02528, allocations: 158.2 kB / 495 MB, free: 18.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.02543, allocations: 44.56 kB / 495.1 MB, free: 18.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.02555, allocations: 42.28 kB / 495.1 MB, free: 18.97 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02555, allocations: 1.188 kB / 495.1 MB, free: 18.97 MB / 426.7 MB Notification: Performance of Templates: time 0.009406/0.03496, allocations: 4.041 MB / 499.2 MB, free: 18.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.737115739961155]