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.00154/0.00154, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009899/0.0009899, allocations: 181 kB / 23.35 MB, free: 1.137 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.8626/0.8626, allocations: 154.9 MB / 415.1 MB, free: 220 kB / 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 1.743e-06/1.743e-06, allocations: 0.5469 kB / 480.5 MB, free: 6.445 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.128e-05, allocations: 7.078 kB / 480.5 MB, free: 6.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002461/0.002482, allocations: 2.008 MB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003681, allocations: 0.7337 MB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.003785, allocations: 4 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.003834, allocations: 24.7 kB / 483.3 MB, free: 3.711 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.003962, allocations: 48.28 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.004436, allocations: 172.9 kB / 483.5 MB, free: 3.504 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.004753, allocations: 343 kB / 483.8 MB, free: 3.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.004882, allocations: 30.89 kB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.005174, allocations: 209 kB / 484 MB, free: 2.934 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.005323, allocations: 115.6 kB / 484.2 MB, free: 2.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.00536, allocations: 32 kB / 484.2 MB, free: 2.789 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.005431, allocations: 32.84 kB / 484.2 MB, free: 2.758 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.005478, allocations: 79.77 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.005545, allocations: 101 kB / 484.4 MB, free: 2.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.005763, allocations: 235.2 kB / 484.6 MB, free: 2.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005767, allocations: 3.984 kB / 484.6 MB, free: 2.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005768, allocations: 0.625 kB / 484.6 MB, free: 2.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.005772, allocations: 0 / 484.6 MB, free: 2.348 MB / 442.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.0006712/0.006443, allocations: 0.5365 MB / 485.2 MB, free: 1.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.006475, allocations: 12.03 kB / 485.2 MB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.00667, allocations: 73.73 kB / 485.3 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.006867, allocations: 162.4 kB / 485.4 MB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.007067, allocations: 0.4925 MB / 485.9 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.007111, allocations: 32.34 kB / 485.9 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.007339, allocations: 208.4 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.007355, allocations: 12.73 kB / 486.1 MB, free: 0.668 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.007371, allocations: 12.12 kB / 486.2 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.007378, allocations: 4.625 kB / 486.2 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.007481, allocations: 65.19 kB / 486.2 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.008265, allocations: 0.5091 MB / 486.7 MB, free: 60 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.008468, allocations: 128.2 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.008537, allocations: 72.19 kB / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.008564, allocations: 12 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.008767, allocations: 236.1 kB / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.00877, allocations: 0 / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003195/0.009089, allocations: 261.3 kB / 487.4 MB, free: 15.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.009138, allocations: 123.1 kB / 487.6 MB, free: 15.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.009235, allocations: 189.8 kB / 487.7 MB, free: 14.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.009259, allocations: 37.7 kB / 487.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.0093, allocations: 110 kB / 487.9 MB, free: 14.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/0.009382, allocations: 161.1 kB / 488 MB, free: 14.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.009476, allocations: 102.3 kB / 488.1 MB, free: 14.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.009559, allocations: 346.7 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.009627, allocations: 57.28 kB / 488.5 MB, free: 14.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.009743, allocations: 160.8 kB / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.009953, allocations: 261.9 kB / 488.9 MB, free: 13.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009956, allocations: 0 / 488.9 MB, free: 13.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002759/0.01023, allocations: 296.4 kB / 489.2 MB, free: 13.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01025, allocations: 4 kB / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01025, allocations: 4 kB / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01027, allocations: 4 kB / 489.2 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.01047, allocations: 105.6 kB / 489.3 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01048, allocations: 7.984 kB / 489.4 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.0106, allocations: 59.66 kB / 489.4 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.01062, allocations: 24.67 kB / 489.4 MB, free: 13.17 MB / 458.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 9.699e-05/0.01071, allocations: 152.6 kB / 489.6 MB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.01075, allocations: 33.7 kB / 489.6 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.01079, allocations: 33.95 kB / 489.7 MB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01079, allocations: 4 kB / 489.7 MB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.0108, allocations: 5.094 kB / 489.7 MB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.0108, allocations: 3.938 kB / 489.7 MB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.01096, allocations: 172.9 kB / 489.8 MB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01096, allocations: 0.875 kB / 489.8 MB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.01117, allocations: 77.34 kB / 489.9 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.01117, allocations: 1.406 kB / 489.9 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.01119, allocations: 12 kB / 489.9 MB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01119, allocations: 4 kB / 489.9 MB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0112, allocations: 7.922 kB / 489.9 MB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.01153, allocations: 327.8 kB / 490.3 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.01155, allocations: 28.25 kB / 490.3 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01158, allocations: 12.59 kB / 490.3 MB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.01167, allocations: 29.19 kB / 490.3 MB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.01176, allocations: 63.89 kB / 490.4 MB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01177, allocations: 16.88 kB / 490.4 MB, free: 12.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.01181, allocations: 54.44 kB / 490.5 MB, free: 12.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01181, allocations: 0 / 490.5 MB, free: 12.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.01201, allocations: 85.33 kB / 490.5 MB, free: 12.04 MB / 458.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.000107/0.01211, allocations: 93.2 kB / 490.6 MB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.01237, allocations: 233.8 kB / 490.9 MB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.01237, allocations: 1.719 kB / 490.9 MB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.0125, allocations: 121.6 kB / 491 MB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.01268, allocations: 63.03 kB / 491 MB, free: 11.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.01347, allocations: 0.5592 MB / 491.6 MB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.01352, allocations: 102.5 kB / 491.7 MB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.935e-05/0.01362, allocations: 40.11 kB / 491.7 MB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.01376, allocations: 113.6 kB / 491.9 MB, free: 10.67 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01376, allocations: 0 / 491.9 MB, free: 10.67 MB / 458.7 MB Notification: Performance of Templates: time 0.005847/0.01961, allocations: 3.936 MB / 495.8 MB, free: 7.016 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8306379802525043]