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.0009731/0.0009731, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.00113/0.00113, allocations: 169 kB / 24.25 MB, free: 308 kB / 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 0.9327/0.9327, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.5933/0.5933, allocations: 115 MB / 376 MB, free: 7.672 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.324e-06/2.324e-06, allocations: 0 / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.093e-05, allocations: 2.312 kB / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001565/0.001596, allocations: 1.051 MB / 482.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002657, allocations: 1.156 MB / 483.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.002739, allocations: 2.562 kB / 483.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.00278, allocations: 20.5 kB / 483.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.172e-05/0.002871, allocations: 45.19 kB / 483.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.003284, allocations: 164.4 kB / 484 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.003522, allocations: 329.6 kB / 484.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.003678, allocations: 35.22 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.003945, allocations: 202.5 kB / 484.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.004074, allocations: 114.5 kB / 484.7 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.004118, allocations: 34.23 kB / 484.7 MB, free: 9.895 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.004187, allocations: 35.72 kB / 484.8 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.004238, allocations: 76.2 kB / 484.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.004322, allocations: 98.02 kB / 484.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.004573, allocations: 235.3 kB / 485.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.004578, allocations: 3.188 kB / 485.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004579, allocations: 0.7812 kB / 485.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.004585, allocations: 1.094 kB / 485.2 MB, free: 9.695 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.000764/0.005349, allocations: 0.6546 MB / 485.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.005388, allocations: 13.78 kB / 485.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.005604, allocations: 72.94 kB / 485.9 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.005695, allocations: 151.7 kB / 486 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.005835, allocations: 500 kB / 486.5 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.005879, allocations: 34.7 kB / 486.6 MB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.00617, allocations: 225.1 kB / 486.8 MB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.006189, allocations: 6.766 kB / 486.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.00621, allocations: 13.73 kB / 486.8 MB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.006221, allocations: 9.219 kB / 486.8 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.006389, allocations: 94.92 kB / 486.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.00725, allocations: 0.7725 MB / 487.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.007529, allocations: 169.8 kB / 487.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.007629, allocations: 89.28 kB / 487.9 MB, free: 23.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.007661, allocations: 16.31 kB / 488 MB, free: 23.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.007925, allocations: 260.4 kB / 488.2 MB, free: 23.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 1.913e-06/0.007927, allocations: 0 / 488.2 MB, free: 23.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006464/0.008573, allocations: 388.6 kB / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.00863, allocations: 115.8 kB / 488.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008751, allocations: 234.5 kB / 488.9 MB, free: 22.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.008779, allocations: 41.39 kB / 489 MB, free: 22.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.008846, allocations: 165.9 kB / 489.1 MB, free: 22.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.008919, allocations: 157.4 kB / 489.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.009013, allocations: 112.9 kB / 489.4 MB, free: 22.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.00914, allocations: 0.5099 MB / 489.9 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.009274, allocations: 87.3 kB / 490 MB, free: 22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.009461, allocations: 222.5 kB / 490.2 MB, free: 21.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.009761, allocations: 326.2 kB / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.009764, allocations: 0 / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004747/0.01024, allocations: 407.2 kB / 490.9 MB, free: 21.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.01026, allocations: 7.188 kB / 490.9 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.01027, allocations: 6.656 kB / 490.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.01029, allocations: 5.188 kB / 490.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.01053, allocations: 94.16 kB / 491 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01054, allocations: 10.5 kB / 491 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.01068, allocations: 57.77 kB / 491.1 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.01071, allocations: 19.38 kB / 491.1 MB, free: 21.41 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.0001387/0.01085, allocations: 198.7 kB / 491.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.01091, allocations: 42.42 kB / 491.4 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.01095, allocations: 34.7 kB / 491.4 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.01096, allocations: 5.875 kB / 491.4 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.01097, allocations: 5.109 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.01098, allocations: 10.27 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.01119, allocations: 230.1 kB / 491.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01119, allocations: 4.969 kB / 491.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.01141, allocations: 71.47 kB / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.01141, allocations: 5.812 kB / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.01144, allocations: 12.44 kB / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.01144, allocations: 5.688 kB / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01144, allocations: 0 / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.01197, allocations: 466.8 kB / 492.2 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.012, allocations: 32.61 kB / 492.2 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.01203, allocations: 7.719 kB / 492.2 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01214, allocations: 35.06 kB / 492.3 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.01225, allocations: 65.52 kB / 492.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.01227, allocations: 18.38 kB / 492.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.01234, allocations: 162.1 kB / 492.5 MB, free: 20.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01234, allocations: 0 / 492.5 MB, free: 20.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01256, allocations: 84.59 kB / 492.6 MB, free: 20.54 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.0001411/0.0127, allocations: 118.3 kB / 492.7 MB, free: 20.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.0131, allocations: 290.9 kB / 493 MB, free: 20.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.0131, allocations: 0 / 493 MB, free: 20.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.01328, allocations: 136.9 kB / 493.1 MB, free: 20.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01356, allocations: 54.78 kB / 493.2 MB, free: 20.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.01453, allocations: 0.5778 MB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.161e-05/0.01458, allocations: 94.81 kB / 493.8 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.999e-05/0.01468, allocations: 38.08 kB / 493.9 MB, free: 19.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.01477, allocations: 44.39 kB / 493.9 MB, free: 19.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01477, allocations: 0 / 493.9 MB, free: 19.85 MB / 426.7 MB Notification: Performance of Templates: time 0.007245/0.02201, allocations: 4.034 MB / 498 MB, free: 19.55 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.739903023932129]