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.001494/0.001494, allocations: 92.22 kB / 20.43 MB, free: 4.137 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.00169/0.00169, allocations: 165 kB / 23.8 MB, free: 0.7656 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.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.7031/0.7031, allocations: 115 MB / 375.7 MB, free: 7.637 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 3.406e-06/3.406e-06, allocations: 3.562 kB / 481.6 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.321e-05, allocations: 5.406 kB / 481.6 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003165/0.003198, allocations: 1.981 MB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004474, allocations: 0.7231 MB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004589, allocations: 3.312 kB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.004646, allocations: 19.69 kB / 484.3 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.004791, allocations: 48.58 kB / 484.4 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.005307, allocations: 181 kB / 484.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.00566, allocations: 335.1 kB / 484.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.00583, allocations: 30.22 kB / 484.9 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.006151, allocations: 204.8 kB / 485.1 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.006343, allocations: 119.8 kB / 485.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.006408, allocations: 29.44 kB / 485.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.006504, allocations: 34.78 kB / 485.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.006572, allocations: 79.83 kB / 485.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.006683, allocations: 98.25 kB / 485.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.00699, allocations: 242.5 kB / 485.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.006993, allocations: 0 / 485.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006994, allocations: 0 / 485.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007, allocations: 1.625 kB / 485.7 MB, free: 9.336 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.001054/0.008054, allocations: 0.6599 MB / 486.3 MB, free: 8.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.008108, allocations: 9.375 kB / 486.3 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.008428, allocations: 77.8 kB / 486.4 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.008702, allocations: 192.7 kB / 486.6 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.008899, allocations: 0.491 MB / 487.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.00896, allocations: 35 kB / 487.1 MB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.009371, allocations: 234.6 kB / 487.4 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.00939, allocations: 3.781 kB / 487.4 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.009417, allocations: 13.7 kB / 487.4 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.009431, allocations: 5.406 kB / 487.4 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.009669, allocations: 98.28 kB / 487.5 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009795/0.01065, allocations: 0.7764 MB / 488.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.01098, allocations: 175.8 kB / 488.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.01113, allocations: 87.56 kB / 488.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.01117, allocations: 9.031 kB / 488.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.01151, allocations: 265.7 kB / 488.8 MB, free: 22.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/0.01152, allocations: 0.9375 kB / 488.8 MB, free: 22.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007158/0.01223, allocations: 378.8 kB / 489.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.01228, allocations: 123 kB / 489.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01242, allocations: 237.5 kB / 489.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01244, allocations: 42.48 kB / 489.5 MB, free: 22.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.0125, allocations: 171.3 kB / 489.7 MB, free: 22.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.01258, allocations: 154.5 kB / 489.9 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.01269, allocations: 108.7 kB / 490 MB, free: 22.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.01282, allocations: 0.5116 MB / 490.5 MB, free: 21.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.01295, allocations: 88.7 kB / 490.6 MB, free: 21.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.01313, allocations: 220.1 kB / 490.8 MB, free: 21.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.01342, allocations: 330 kB / 491.1 MB, free: 21.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.01343, allocations: 1.375 kB / 491.1 MB, free: 21.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000452/0.01388, allocations: 410.6 kB / 491.5 MB, free: 21.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01389, allocations: 9.031 kB / 491.5 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.0139, allocations: 4.594 kB / 491.5 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01392, allocations: 5.344 kB / 491.5 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.01414, allocations: 98.06 kB / 491.6 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.01415, allocations: 10.61 kB / 491.6 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01428, allocations: 50.14 kB / 491.7 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.01431, allocations: 23.5 kB / 491.7 MB, free: 21.04 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.0001171/0.01442, allocations: 199.9 kB / 491.9 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.01447, allocations: 45.52 kB / 491.9 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.01452, allocations: 31.47 kB / 492 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.01453, allocations: 13.34 kB / 492 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01454, allocations: 5.688 kB / 492 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01454, allocations: 1.562 kB / 492 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.01475, allocations: 239.5 kB / 492.2 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01475, allocations: 0 / 492.2 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.01502, allocations: 71.73 kB / 492.3 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01503, allocations: 2.812 kB / 492.3 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.01507, allocations: 16.86 kB / 492.3 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.01507, allocations: 2.281 kB / 492.3 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01507, allocations: 1.156 kB / 492.3 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.01568, allocations: 475.1 kB / 492.8 MB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.01571, allocations: 25.83 kB / 492.8 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.01574, allocations: 10.56 kB / 492.8 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.01584, allocations: 30.3 kB / 492.9 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.01595, allocations: 71.3 kB / 492.9 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.01597, allocations: 15.83 kB / 492.9 MB, free: 20.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.01604, allocations: 165.4 kB / 493.1 MB, free: 20.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01604, allocations: 5.938 kB / 493.1 MB, free: 20.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01627, allocations: 79.73 kB / 493.2 MB, free: 20.16 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.0001156/0.01639, allocations: 114.6 kB / 493.3 MB, free: 20.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.0168, allocations: 286 kB / 493.6 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0168, allocations: 0 / 493.6 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.01697, allocations: 144 kB / 493.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01721, allocations: 52.03 kB / 493.8 MB, free: 19.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01821, allocations: 0.576 MB / 494.3 MB, free: 19.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.701e-05/0.01828, allocations: 93.91 kB / 494.4 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.694e-05/0.01838, allocations: 41.5 kB / 494.5 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01849, allocations: 46.36 kB / 494.5 MB, free: 19.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01849, allocations: 0 / 494.5 MB, free: 19.47 MB / 426.7 MB Notification: Performance of Templates: time 0.0101/0.02859, allocations: 4.041 MB / 498.6 MB, free: 19.17 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: 3.9631663179025054]