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.0009819/0.0009819, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001128/0.001128, allocations: 169.4 kB / 24.05 MB, free: 456 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 1.093/1.093, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6135/0.6135, allocations: 115 MB / 376 MB, free: 7.52 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.154e-06/2.154e-06, allocations: 1.203 kB / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.651e-05, allocations: 5.703 kB / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002189/0.002215, allocations: 1.032 MB / 483.1 MB, free: 11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003659, allocations: 1.151 MB / 484.2 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.003766, allocations: 1.094 kB / 484.2 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.003814, allocations: 21.84 kB / 484.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.003943, allocations: 47.19 kB / 484.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.004413, allocations: 163.1 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.004769, allocations: 329.5 kB / 484.8 MB, free: 9.887 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.004911, allocations: 37.77 kB / 484.8 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.005288, allocations: 197.4 kB / 485 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.005495, allocations: 122.6 kB / 485.1 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.005554, allocations: 29 kB / 485.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.005641, allocations: 32.59 kB / 485.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.0057, allocations: 84.02 kB / 485.3 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.00579, allocations: 97.14 kB / 485.4 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.006065, allocations: 234.9 kB / 485.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006067, allocations: 0 / 485.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006068, allocations: 0 / 485.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006073, allocations: 0.7812 kB / 485.6 MB, free: 9.543 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.0009088/0.006982, allocations: 0.6614 MB / 486.3 MB, free: 9.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.007025, allocations: 10.03 kB / 486.3 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.007318, allocations: 73.41 kB / 486.3 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.007418, allocations: 149.6 kB / 486.5 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.007591, allocations: 0.4918 MB / 487 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.007645, allocations: 32.67 kB / 487 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.007976, allocations: 217.9 kB / 487.2 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.007995, allocations: 3.531 kB / 487.2 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.008017, allocations: 9.719 kB / 487.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.008029, allocations: 9.844 kB / 487.2 MB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.008209, allocations: 75.61 kB / 487.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.009199, allocations: 0.7424 MB / 488.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.009493, allocations: 165.9 kB / 488.2 MB, free: 23.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.00961, allocations: 74.34 kB / 488.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.009658, allocations: 21.34 kB / 488.3 MB, free: 23.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.009983, allocations: 251.7 kB / 488.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.865e-06/0.009986, allocations: 0 / 488.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006321/0.01062, allocations: 353.9 kB / 488.9 MB, free: 23.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.01066, allocations: 116.5 kB / 489 MB, free: 23.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.0108, allocations: 226.1 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01083, allocations: 37.89 kB / 489.3 MB, free: 22.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.01091, allocations: 174.4 kB / 489.5 MB, free: 22.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.01102, allocations: 154.6 kB / 489.6 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.01116, allocations: 114.1 kB / 489.7 MB, free: 22.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.01133, allocations: 0.5186 MB / 490.2 MB, free: 21.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.01147, allocations: 65.45 kB / 490.3 MB, free: 21.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.01167, allocations: 202.8 kB / 490.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.01203, allocations: 297.7 kB / 490.8 MB, free: 21.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.01203, allocations: 2.219 kB / 490.8 MB, free: 21.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000583/0.01262, allocations: 357.6 kB / 491.1 MB, free: 21.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.01264, allocations: 6.312 kB / 491.1 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.01265, allocations: 4.406 kB / 491.1 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.01267, allocations: 9.781 kB / 491.2 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.01299, allocations: 93.42 kB / 491.2 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.013, allocations: 12.56 kB / 491.3 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.01321, allocations: 66.64 kB / 491.3 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.01324, allocations: 14.38 kB / 491.3 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.0001519/0.01339, allocations: 196.8 kB / 491.5 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.01346, allocations: 44.72 kB / 491.6 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.01351, allocations: 31.66 kB / 491.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.01352, allocations: 9.953 kB / 491.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.01353, allocations: 1.406 kB / 491.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.01353, allocations: 1.562 kB / 491.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.01378, allocations: 211.7 kB / 491.8 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01379, allocations: 0 / 491.8 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.0141, allocations: 73.81 kB / 491.9 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.01411, allocations: 3.438 kB / 491.9 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.01415, allocations: 15.97 kB / 491.9 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.01415, allocations: 1.5 kB / 491.9 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01415, allocations: 1.906 kB / 491.9 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.01483, allocations: 426.8 kB / 492.3 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.01486, allocations: 29.31 kB / 492.4 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.0149, allocations: 16.33 kB / 492.4 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.01507, allocations: 25.98 kB / 492.4 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.01519, allocations: 71.62 kB / 492.5 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.01522, allocations: 14.73 kB / 492.5 MB, free: 20.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.907e-05/0.01531, allocations: 152.5 kB / 492.6 MB, free: 20.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01531, allocations: 0 / 492.6 MB, free: 20.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.01568, allocations: 89.27 kB / 492.7 MB, free: 20.55 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.0001633/0.01584, allocations: 124.6 kB / 492.8 MB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.01627, allocations: 249.2 kB / 493.1 MB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01627, allocations: 1.281 kB / 493.1 MB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.01648, allocations: 134.9 kB / 493.2 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01683, allocations: 49.83 kB / 493.3 MB, free: 20.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.01796, allocations: 0.5688 MB / 493.8 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.826e-05/0.01803, allocations: 93.61 kB / 493.9 MB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.01818, allocations: 42.41 kB / 494 MB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.01839, allocations: 132.5 kB / 494.1 MB, free: 19.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01839, allocations: 2.469 kB / 494.1 MB, free: 19.82 MB / 426.7 MB Notification: Performance of Templates: time 0.009434/0.02782, allocations: 4.336 MB / 498.4 MB, free: 19.43 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.6744534140452743]