Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0009992/0.0009992, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009668/0.0009668, allocations: 173 kB / 23.49 MB, free: 1.059 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.9874/0.9874, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7864/0.7864, allocations: 154.8 MB / 415.1 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.889e-06/4.889e-06, allocations: 7.938 kB / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.5e-05/3.989e-05, allocations: 4 kB / 0.5207 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003607/0.003647, allocations: 1.959 MB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.005043, allocations: 0.7163 MB / 0.5233 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.005196, allocations: 2.438 kB / 0.5233 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.005261, allocations: 23.67 kB / 0.5233 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.005415, allocations: 47.52 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.006048, allocations: 187.2 kB / 0.5235 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.006508, allocations: 332.5 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.006696, allocations: 40.91 kB / 0.5239 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.007103, allocations: 191.6 kB / 0.5241 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.007247, allocations: 124.5 kB / 0.5242 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.007286, allocations: 31.98 kB / 0.5242 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.007349, allocations: 32 kB / 0.5242 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.007399, allocations: 76.73 kB / 0.5243 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.007474, allocations: 103.7 kB / 0.5244 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.007747, allocations: 244.2 kB / 0.5246 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.007752, allocations: 0 / 0.5246 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.794e-06/0.007754, allocations: 0 / 0.5246 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.007761, allocations: 0.7188 kB / 0.5246 GB, free: 14.13 MB / 0.4948 GB 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.0009022/0.008663, allocations: 0.6638 MB / 0.5253 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.008719, allocations: 8.031 kB / 0.5253 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.008988, allocations: 74.48 kB / 0.5254 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.009275, allocations: 192.2 kB / 0.5255 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.009514, allocations: 499.7 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.00956, allocations: 28.38 kB / 0.5261 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.009914, allocations: 229.7 kB / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.009931, allocations: 12.12 kB / 0.5263 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.009954, allocations: 12.12 kB / 0.5263 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.009966, allocations: 4.531 kB / 0.5263 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.01014, allocations: 92.62 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.01091, allocations: 0.7756 MB / 0.5271 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.01121, allocations: 174.8 kB / 0.5273 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.01133, allocations: 92.53 kB / 0.5274 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.01137, allocations: 11.98 kB / 0.5274 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.01169, allocations: 272.8 kB / 0.5277 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.01169, allocations: 0 / 0.5277 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0005832/0.01227, allocations: 365.8 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.01234, allocations: 122.7 kB / 0.5281 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.0125, allocations: 248.3 kB / 0.5284 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.01254, allocations: 37.7 kB / 0.5284 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.01262, allocations: 164.1 kB / 0.5286 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.01272, allocations: 153.5 kB / 0.5287 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01283, allocations: 112 kB / 0.5288 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.013, allocations: 0.5079 MB / 0.5293 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.01313, allocations: 85.25 kB / 0.5294 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.01335, allocations: 237 kB / 0.5296 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.01371, allocations: 320 kB / 0.5299 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01371, allocations: 4 kB / 0.5299 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004756/0.01419, allocations: 406.7 kB / 0.5303 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.01421, allocations: 4 kB / 0.5303 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.01422, allocations: 4 kB / 0.5303 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01424, allocations: 4.938 kB / 0.5303 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.01447, allocations: 95.77 kB / 0.5304 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.01448, allocations: 12.88 kB / 0.5304 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.01463, allocations: 64.67 kB / 0.5305 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.01465, allocations: 20 kB / 0.5305 GB, free: 7.641 MB / 0.4948 GB 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.0001408/0.0148, allocations: 204.3 kB / 0.5307 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.01485, allocations: 47.8 kB / 0.5308 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.0149, allocations: 29.97 kB / 0.5308 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.01491, allocations: 8.656 kB / 0.5308 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.01492, allocations: 7.922 kB / 0.5308 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01493, allocations: 0.6562 kB / 0.5308 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.01514, allocations: 232.4 kB / 0.531 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01515, allocations: 0.6562 kB / 0.531 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.01538, allocations: 76.98 kB / 0.5311 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01539, allocations: 0 / 0.5311 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.01542, allocations: 15.98 kB / 0.5311 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01542, allocations: 2.469 kB / 0.5311 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01542, allocations: 0 / 0.5311 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.01602, allocations: 472.2 kB / 0.5316 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.01605, allocations: 27.75 kB / 0.5316 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.01608, allocations: 8.062 kB / 0.5316 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.0162, allocations: 39.09 kB / 0.5316 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.01633, allocations: 67.84 kB / 0.5317 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.01635, allocations: 15.98 kB / 0.5317 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.733e-05/0.01643, allocations: 168.2 kB / 0.5319 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01643, allocations: 3.938 kB / 0.5319 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002562/0.01669, allocations: 80 kB / 0.532 GB, free: 6.102 MB / 0.4948 GB 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.0001911/0.01688, allocations: 118.4 kB / 0.5321 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.01731, allocations: 280.9 kB / 0.5323 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01731, allocations: 3.594 kB / 0.5323 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.0175, allocations: 144.4 kB / 0.5325 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01779, allocations: 58.78 kB / 0.5325 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01879, allocations: 0.576 MB / 0.5331 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.01886, allocations: 101.5 kB / 0.5332 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.752e-05/0.01895, allocations: 38.12 kB / 0.5332 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.01904, allocations: 40.48 kB / 0.5333 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/0.01904, allocations: 0 / 0.5333 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.006164/0.02521, allocations: 4.046 MB / 0.5372 GB, free: 0.8516 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.004716788884252]