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.0009645/0.0009645, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009296/0.0009296, allocations: 169 kB / 24.06 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 0.9777/0.9777, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.794/0.794, allocations: 154.9 MB / 415.9 MB, free: 224 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 3.196e-06/3.196e-06, allocations: 4 kB / 0.522 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/3.042e-05, allocations: 2.312 kB / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.005842/0.005873, allocations: 1.951 MB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.006861, allocations: 0.7152 MB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.006946, allocations: 4.625 kB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.006986, allocations: 24.61 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.007079, allocations: 44.48 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.008548, allocations: 177.4 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.008875, allocations: 335 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.009005, allocations: 32.91 kB / 0.5252 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.009293, allocations: 207.5 kB / 0.5254 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.009457, allocations: 116.2 kB / 0.5255 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.009499, allocations: 32.94 kB / 0.5255 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.009566, allocations: 35.94 kB / 0.5255 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.009627, allocations: 80.61 kB / 0.5256 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.94e-05/0.009727, allocations: 95.78 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.009996, allocations: 239.8 kB / 0.5259 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01, allocations: 0 / 0.5259 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01, allocations: 1.062 kB / 0.5259 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.01001, allocations: 0 / 0.5259 GB, free: 13.4 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.0007385/0.01075, allocations: 0.6637 MB / 0.5266 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.01078, allocations: 8.031 kB / 0.5266 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.01098, allocations: 81.52 kB / 0.5267 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.01117, allocations: 193.4 kB / 0.5269 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.01143, allocations: 499.7 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.01146, allocations: 28.38 kB / 0.5274 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.0117, allocations: 221.5 kB / 0.5276 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01171, allocations: 192 / 0.5276 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.01173, allocations: 16.12 kB / 0.5276 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.01173, allocations: 6.25 kB / 0.5276 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.01184, allocations: 75.86 kB / 0.5277 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.01244, allocations: 0.7514 MB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.01265, allocations: 162.9 kB / 0.5285 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.01273, allocations: 75.02 kB / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.01276, allocations: 19.92 kB / 0.5286 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.01311, allocations: 246.8 kB / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.01311, allocations: 0.875 kB / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0004135/0.01353, allocations: 340 kB / 0.5292 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.01358, allocations: 112.3 kB / 0.5293 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.01369, allocations: 252.1 kB / 0.5295 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.01371, allocations: 37.7 kB / 0.5296 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.01377, allocations: 167 kB / 0.5297 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.01386, allocations: 154.7 kB / 0.5299 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.01395, allocations: 115.9 kB / 0.53 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.01407, allocations: 0.5195 MB / 0.5305 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.01415, allocations: 61.27 kB / 0.5306 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.01429, allocations: 214.5 kB / 0.5308 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01452, allocations: 292 kB / 0.531 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01452, allocations: 0 / 0.531 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003526/0.01487, allocations: 372.6 kB / 0.5314 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01489, allocations: 8 kB / 0.5314 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.0149, allocations: 4 kB / 0.5314 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.01491, allocations: 4 kB / 0.5314 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01512, allocations: 91.83 kB / 0.5315 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01512, allocations: 7.938 kB / 0.5315 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.01525, allocations: 61.2 kB / 0.5316 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.01527, allocations: 16 kB / 0.5316 GB, free: 7.145 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.0001184/0.01539, allocations: 203.2 kB / 0.5318 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.01543, allocations: 35.86 kB / 0.5318 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.01547, allocations: 41.02 kB / 0.5319 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01548, allocations: 4 kB / 0.5319 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01548, allocations: 3.938 kB / 0.5319 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01549, allocations: 7.938 kB / 0.5319 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.01566, allocations: 205 kB / 0.5321 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01566, allocations: 0 / 0.5321 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.01586, allocations: 71.89 kB / 0.5321 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01587, allocations: 4 kB / 0.5321 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.01589, allocations: 18.42 kB / 0.5322 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01589, allocations: 0 / 0.5322 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01589, allocations: 7.938 kB / 0.5322 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.01659, allocations: 427.9 kB / 0.5326 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01661, allocations: 31.73 kB / 0.5326 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.01664, allocations: 8 kB / 0.5326 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.01673, allocations: 33.25 kB / 0.5326 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.01682, allocations: 69.77 kB / 0.5327 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.01684, allocations: 20.05 kB / 0.5327 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.0169, allocations: 164.1 kB / 0.5329 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0169, allocations: 0 / 0.5329 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002101/0.01711, allocations: 83.98 kB / 0.533 GB, free: 5.684 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.0001356/0.01725, allocations: 113.6 kB / 0.5331 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.01754, allocations: 259.2 kB / 0.5333 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01754, allocations: 2 kB / 0.5333 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.01767, allocations: 128.4 kB / 0.5334 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01791, allocations: 61.34 kB / 0.5335 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.01878, allocations: 0.5675 MB / 0.5341 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.01883, allocations: 98.89 kB / 0.5342 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.01893, allocations: 38.31 kB / 0.5342 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.01909, allocations: 134.2 kB / 0.5343 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01909, allocations: 1.5 kB / 0.5343 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of Templates: time 0.006081/0.02517, allocations: 4.491 MB / 0.5387 GB, free: 15.95 MB / 0.5105 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: 3.8842766541056335]