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.001451/0.001451, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.001577/0.001577, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.478/1.478, 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 0.9611/0.9611, allocations: 115 MB / 375.3 MB, free: 7.582 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 1.663e-06/1.663e-06, allocations: 0 / 480.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.363e-05, allocations: 2.312 kB / 480.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002405/0.002429, allocations: 1.91 MB / 482.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.003388, allocations: 0.7194 MB / 483.5 MB, free: 10 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.003473, allocations: 0 / 483.5 MB, free: 10 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.003518, allocations: 21.06 kB / 483.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.003625, allocations: 41.97 kB / 483.6 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.004037, allocations: 180.5 kB / 483.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.004333, allocations: 336.1 kB / 484.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004452, allocations: 33.81 kB / 484.1 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.004705, allocations: 200.3 kB / 484.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.004859, allocations: 115.6 kB / 484.4 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.004912, allocations: 31.81 kB / 484.4 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.004985, allocations: 36.22 kB / 484.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.005051, allocations: 80.23 kB / 484.5 MB, free: 9.516 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.774e-05/0.005138, allocations: 98.38 kB / 484.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.005424, allocations: 338.6 kB / 485 MB, free: 9.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005427, allocations: 7.188 kB / 485 MB, free: 9.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005428, allocations: 0 / 485 MB, free: 9.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005433, allocations: 0 / 485 MB, free: 9.34 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.001086/0.00652, allocations: 0.5604 MB / 485.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.006554, allocations: 10.06 kB / 485.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.006917, allocations: 82.97 kB / 485.6 MB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.00719, allocations: 192.8 kB / 485.8 MB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.007359, allocations: 0.4917 MB / 486.3 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.00742, allocations: 30.39 kB / 486.3 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.007861, allocations: 265 kB / 486.6 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.00788, allocations: 7.312 kB / 486.6 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.007908, allocations: 10.19 kB / 486.6 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.007916, allocations: 5 kB / 486.6 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.008315, allocations: 181.4 kB / 486.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.009129, allocations: 0.6494 MB / 487.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.009559, allocations: 200.4 kB / 487.6 MB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.009785, allocations: 124.9 kB / 487.8 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.009827, allocations: 13.31 kB / 487.8 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/0.01039, allocations: 309.4 kB / 488.1 MB, free: 23.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/0.01039, allocations: 0 / 488.1 MB, free: 23.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.001037/0.01143, allocations: 0.4887 MB / 488.6 MB, free: 22.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.0115, allocations: 125.7 kB / 488.7 MB, free: 22.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.01166, allocations: 180.9 kB / 488.9 MB, free: 22.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.0117, allocations: 38.52 kB / 488.9 MB, free: 22.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.01177, allocations: 123.5 kB / 489 MB, free: 22.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.01187, allocations: 152.3 kB / 489.2 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.01199, allocations: 107.7 kB / 489.3 MB, free: 22.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.01217, allocations: 342 kB / 489.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.01246, allocations: 147.8 kB / 489.8 MB, free: 22.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.01277, allocations: 251 kB / 490 MB, free: 21.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.01333, allocations: 403.4 kB / 490.4 MB, free: 21.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01333, allocations: 1.125 kB / 490.4 MB, free: 21.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008151/0.01415, allocations: 0.5104 MB / 490.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01416, allocations: 6.938 kB / 490.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.01417, allocations: 2.938 kB / 490.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.01419, allocations: 4.969 kB / 490.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.01457, allocations: 110.3 kB / 491 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.01458, allocations: 10 kB / 491 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.01486, allocations: 56.41 kB / 491.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.0149, allocations: 19.62 kB / 491.1 MB, free: 21.36 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.0001652/0.01506, allocations: 158.2 kB / 491.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.01514, allocations: 45.95 kB / 491.3 MB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.0152, allocations: 34.14 kB / 491.3 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.0152, allocations: 5.312 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.01521, allocations: 4.938 kB / 491.4 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.01522, allocations: 4.016 kB / 491.4 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.01548, allocations: 238.2 kB / 491.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01548, allocations: 0 / 491.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.01589, allocations: 73.84 kB / 491.7 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01589, allocations: 2.344 kB / 491.7 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.01593, allocations: 14.06 kB / 491.7 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01593, allocations: 2.844 kB / 491.7 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01593, allocations: 0 / 491.7 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.01696, allocations: 0.6175 MB / 492.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.01699, allocations: 25.14 kB / 492.3 MB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.01703, allocations: 7.969 kB / 492.3 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.01727, allocations: 37.64 kB / 492.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.0174, allocations: 57.31 kB / 492.4 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.01743, allocations: 19.34 kB / 492.4 MB, free: 20.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01754, allocations: 132.4 kB / 492.6 MB, free: 20.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01754, allocations: 5.125 kB / 492.6 MB, free: 20.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000338/0.01788, allocations: 82.55 kB / 492.7 MB, free: 20.52 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.0001526/0.01803, allocations: 115.8 kB / 492.8 MB, free: 20.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006781/0.01871, allocations: 357.8 kB / 493.1 MB, free: 20.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01871, allocations: 1 kB / 493.1 MB, free: 20.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.01906, allocations: 191.4 kB / 493.3 MB, free: 20.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.01939, allocations: 49.27 kB / 493.4 MB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.02038, allocations: 0.594 MB / 494 MB, free: 19.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02049, allocations: 158.1 kB / 494.1 MB, free: 19.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.02065, allocations: 39.42 kB / 494.1 MB, free: 19.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.02077, allocations: 42.56 kB / 494.2 MB, free: 19.76 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02077, allocations: 0 / 494.2 MB, free: 19.76 MB / 426.7 MB Notification: Performance of Templates: time 0.007921/0.02869, allocations: 4.043 MB / 498.2 MB, free: 19.44 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.627693807007745]