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.0008659/0.0008659, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.0009409/0.0009409, allocations: 168.9 kB / 23.02 MB, free: 1.559 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.102 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.8549/0.8549, allocations: 154.8 MB / 414.7 MB, free: 372 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 2.294e-06/2.294e-06, allocations: 0.7656 kB / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.766e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002555/0.002583, allocations: 1.976 MB / 0.5226 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003621, allocations: 0.7125 MB / 0.5233 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.003753, allocations: 7.938 kB / 0.5233 GB, free: 15.19 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 5.121e-05/0.003804, allocations: 16.28 kB / 0.5233 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.003925, allocations: 48.72 kB / 0.5233 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.004458, allocations: 189.4 kB / 0.5235 GB, free: 14.95 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.004765, allocations: 335 kB / 0.5238 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.004899, allocations: 36.91 kB / 0.5239 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.005142, allocations: 195.6 kB / 0.524 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.005281, allocations: 121.3 kB / 0.5242 GB, free: 14.28 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.005323, allocations: 28 kB / 0.5242 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 6.299e-05/0.005386, allocations: 35.98 kB / 0.5242 GB, free: 14.21 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.005436, allocations: 75.78 kB / 0.5243 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 9.985e-05/0.005536, allocations: 99.72 kB / 0.5244 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.005784, allocations: 240.5 kB / 0.5246 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005786, allocations: 0 / 0.5246 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005786, allocations: 3.938 kB / 0.5246 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.005792, allocations: 0.5312 kB / 0.5246 GB, free: 13.8 MB / 0.4949 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.00088/0.006672, allocations: 0.6671 MB / 0.5253 GB, free: 13.1 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.006716, allocations: 11.56 kB / 0.5253 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.00693, allocations: 72.77 kB / 0.5254 GB, free: 13.02 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.007164, allocations: 192.2 kB / 0.5255 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.007378, allocations: 499.7 kB / 0.526 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.007423, allocations: 32.38 kB / 0.526 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.007732, allocations: 224.3 kB / 0.5263 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.007748, allocations: 12.08 kB / 0.5263 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.00777, allocations: 16.67 kB / 0.5263 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.007782, allocations: 8 kB / 0.5263 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.00794, allocations: 88.48 kB / 0.5264 GB, free: 11.82 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.008697, allocations: 0.7766 MB / 0.5271 GB, free: 11 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.008996, allocations: 177.7 kB / 0.5273 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.009108, allocations: 87.83 kB / 0.5274 GB, free: 10.69 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.009139, allocations: 8 kB / 0.5274 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.009408, allocations: 267.8 kB / 0.5277 GB, free: 10.4 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.009409, allocations: 0 / 0.5277 GB, free: 10.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=48): time 0.0005345/0.009944, allocations: 374 kB / 0.528 GB, free: 10.03 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.009999, allocations: 118.7 kB / 0.5281 GB, free: 9.887 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01013, allocations: 250.7 kB / 0.5284 GB, free: 9.629 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01016, allocations: 37.7 kB / 0.5284 GB, free: 9.586 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.01023, allocations: 164.1 kB / 0.5286 GB, free: 9.422 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.01032, allocations: 154.8 kB / 0.5287 GB, free: 9.27 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.01042, allocations: 108 kB / 0.5288 GB, free: 9.156 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01055, allocations: 0.5157 MB / 0.5293 GB, free: 8.629 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.01067, allocations: 88 kB / 0.5294 GB, free: 8.547 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.01086, allocations: 218.7 kB / 0.5296 GB, free: 8.285 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.01119, allocations: 328 kB / 0.5299 GB, free: 7.914 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01119, allocations: 0 / 0.5299 GB, free: 7.914 MB / 0.4949 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004676/0.01166, allocations: 409.2 kB / 0.5303 GB, free: 7.508 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01168, allocations: 4 kB / 0.5303 GB, free: 7.504 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01169, allocations: 4 kB / 0.5303 GB, free: 7.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.01171, allocations: 9.25 kB / 0.5303 GB, free: 7.492 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.01192, allocations: 95.77 kB / 0.5304 GB, free: 7.398 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.01193, allocations: 7.938 kB / 0.5304 GB, free: 7.391 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.01206, allocations: 64.64 kB / 0.5305 GB, free: 7.328 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.01208, allocations: 16.94 kB / 0.5305 GB, free: 7.312 MB / 0.4949 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.0001211/0.01221, allocations: 199 kB / 0.5307 GB, free: 7.105 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.01225, allocations: 44.95 kB / 0.5307 GB, free: 7.062 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.0123, allocations: 33.95 kB / 0.5308 GB, free: 7.035 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.01231, allocations: 8 kB / 0.5308 GB, free: 7.027 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.01231, allocations: 6.406 kB / 0.5308 GB, free: 7.023 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.01232, allocations: 8.062 kB / 0.5308 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.01252, allocations: 236.3 kB / 0.531 GB, free: 6.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01252, allocations: 0 / 0.531 GB, free: 6.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.01273, allocations: 71.91 kB / 0.5311 GB, free: 6.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01273, allocations: 4 kB / 0.5311 GB, free: 6.676 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.01275, allocations: 15.11 kB / 0.5311 GB, free: 6.664 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01276, allocations: 0 / 0.5311 GB, free: 6.664 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01276, allocations: 4 kB / 0.5311 GB, free: 6.66 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.0133, allocations: 471.8 kB / 0.5316 GB, free: 6.172 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.01333, allocations: 27.75 kB / 0.5316 GB, free: 6.145 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.01336, allocations: 8 kB / 0.5316 GB, free: 6.137 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01346, allocations: 39.55 kB / 0.5316 GB, free: 6.102 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.01357, allocations: 67.84 kB / 0.5317 GB, free: 6.035 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.01359, allocations: 16 kB / 0.5317 GB, free: 6.02 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.01368, allocations: 168.2 kB / 0.5319 GB, free: 5.855 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.01368, allocations: 0 / 0.5319 GB, free: 5.855 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002369/0.01391, allocations: 80 kB / 0.5319 GB, free: 5.777 MB / 0.4949 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.000106/0.01402, allocations: 114.2 kB / 0.532 GB, free: 5.656 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.0144, allocations: 288.7 kB / 0.5323 GB, free: 5.379 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.0144, allocations: 4 kB / 0.5323 GB, free: 5.375 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.01457, allocations: 136.4 kB / 0.5325 GB, free: 5.238 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01481, allocations: 67.62 kB / 0.5325 GB, free: 5.176 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.01576, allocations: 0.5768 MB / 0.5331 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.68e-05/0.01583, allocations: 97.47 kB / 0.5332 GB, free: 4.438 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 9.264e-05/0.01592, allocations: 42.83 kB / 0.5332 GB, free: 4.398 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.01601, allocations: 36.5 kB / 0.5333 GB, free: 4.359 MB / 0.4949 GB Notification: Performance of SimCode: time 1.102e-06/0.01601, allocations: 4.969 kB / 0.5333 GB, free: 4.355 MB / 0.4949 GB Notification: Performance of Templates: time 0.005898/0.02191, allocations: 4.048 MB / 0.5372 GB, free: 0.5195 MB / 0.4949 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.003972197882831]