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.001075/0.001075, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001223/0.001223, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9803/0.9803, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.6475/0.6475, allocations: 114.9 MB / 375.7 MB, free: 7.648 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.325e-06/2.325e-06, allocations: 0.7656 kB / 481.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.764e-05, allocations: 4.984 kB / 481.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001805/0.001833, allocations: 1.06 MB / 482.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003129, allocations: 1.153 MB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.003209, allocations: 4 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.003258, allocations: 15.75 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003364, allocations: 47.88 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.003797, allocations: 162.1 kB / 484 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.004067, allocations: 331.8 kB / 484.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.004203, allocations: 28.89 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.004482, allocations: 203.3 kB / 484.6 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.004637, allocations: 123.8 kB / 484.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.004684, allocations: 32.31 kB / 484.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.004754, allocations: 34.81 kB / 484.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.004803, allocations: 76.05 kB / 484.8 MB, free: 9.906 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.004887, allocations: 98.33 kB / 484.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.005131, allocations: 238.2 kB / 485.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005133, allocations: 2.688 kB / 485.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005134, allocations: 0 / 485.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005139, allocations: 1.25 kB / 485.2 MB, free: 9.75 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.0008455/0.005985, allocations: 0.6504 MB / 485.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006023, allocations: 9.406 kB / 485.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.006292, allocations: 81 kB / 485.9 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.556e-05/0.006388, allocations: 144 kB / 486.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.006561, allocations: 0.491 MB / 486.5 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.006614, allocations: 32.73 kB / 486.6 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.006964, allocations: 229.5 kB / 486.8 MB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.006981, allocations: 6.094 kB / 486.8 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.007005, allocations: 15.3 kB / 486.8 MB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.007017, allocations: 8.375 kB / 486.8 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.007222, allocations: 99.31 kB / 486.9 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.008153, allocations: 0.7646 MB / 487.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.008469, allocations: 171.7 kB / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.008603, allocations: 88.45 kB / 487.9 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.008645, allocations: 15.5 kB / 488 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/0.008969, allocations: 269.8 kB / 488.2 MB, free: 23.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.008971, allocations: 0 / 488.2 MB, free: 23.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006559/0.009627, allocations: 378.4 kB / 488.6 MB, free: 23.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.009681, allocations: 116.3 kB / 488.7 MB, free: 23.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.009816, allocations: 232.4 kB / 488.9 MB, free: 22.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.009848, allocations: 45.14 kB / 489 MB, free: 22.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.009917, allocations: 168.6 kB / 489.1 MB, free: 22.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.01, allocations: 153.8 kB / 489.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.01012, allocations: 107.4 kB / 489.4 MB, free: 22.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.01026, allocations: 0.5129 MB / 489.9 MB, free: 22.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.01043, allocations: 85.09 kB / 490 MB, free: 22.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.01063, allocations: 221.9 kB / 490.2 MB, free: 21.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.01102, allocations: 330.5 kB / 490.5 MB, free: 21.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.01102, allocations: 1.312 kB / 490.5 MB, free: 21.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005856/0.01161, allocations: 406.4 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.01163, allocations: 5.5 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01164, allocations: 5.281 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.01166, allocations: 5.344 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.01194, allocations: 101.1 kB / 491 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.01195, allocations: 9.688 kB / 491.1 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.01212, allocations: 60.95 kB / 491.1 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.01215, allocations: 19.09 kB / 491.1 MB, free: 21.46 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.0001374/0.01229, allocations: 196.2 kB / 491.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.01235, allocations: 42.95 kB / 491.4 MB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.01241, allocations: 30.94 kB / 491.4 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.01241, allocations: 5.094 kB / 491.4 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.01242, allocations: 2 kB / 491.4 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.01243, allocations: 11.48 kB / 491.4 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.01265, allocations: 232.2 kB / 491.6 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01265, allocations: 0 / 491.6 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.01293, allocations: 75.06 kB / 491.7 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.01294, allocations: 4.125 kB / 491.7 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.01297, allocations: 12.44 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.01298, allocations: 5.484 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01298, allocations: 2.875 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.01365, allocations: 465.2 kB / 492.2 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.01368, allocations: 28.72 kB / 492.2 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.01372, allocations: 14.27 kB / 492.2 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01386, allocations: 31.28 kB / 492.3 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.01398, allocations: 71.48 kB / 492.3 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.01401, allocations: 17.61 kB / 492.4 MB, free: 20.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.921e-05/0.0141, allocations: 164.9 kB / 492.5 MB, free: 20.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0141, allocations: 0 / 492.5 MB, free: 20.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.01443, allocations: 83.62 kB / 492.6 MB, free: 20.6 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.000144/0.01457, allocations: 121.3 kB / 492.7 MB, free: 20.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.01505, allocations: 280.2 kB / 493 MB, free: 20.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01506, allocations: 0 / 493 MB, free: 20.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.01528, allocations: 138.8 kB / 493.1 MB, free: 20.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.01559, allocations: 56.75 kB / 493.2 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01663, allocations: 0.5816 MB / 493.8 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.01669, allocations: 98.67 kB / 493.9 MB, free: 19.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.01681, allocations: 36.25 kB / 493.9 MB, free: 19.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01692, allocations: 42.17 kB / 493.9 MB, free: 19.9 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01692, allocations: 0 / 493.9 MB, free: 19.9 MB / 426.7 MB Notification: Performance of Templates: time 0.00687/0.02379, allocations: 4.029 MB / 498 MB, free: 19.61 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.9103370681405067]