Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001054/0.001054, allocations: 93.06 kB / 19.65 MB, free: 272 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.001284/0.001284, allocations: 169 kB / 23.02 MB, free: 1.543 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.956/0.956, allocations: 177.2 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7766/0.7766, allocations: 154.6 MB / 414.5 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5204 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.204e-05, allocations: 3.578 kB / 0.5204 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002086/0.002108, allocations: 1.97 MB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.002929, allocations: 0.72 MB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.003001, allocations: 0 / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.003045, allocations: 23.67 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.268e-05/0.003138, allocations: 40.66 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.003514, allocations: 191.7 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.003754, allocations: 339.5 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.003873, allocations: 46.27 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.004094, allocations: 191.6 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.004221, allocations: 119.6 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.004264, allocations: 28.78 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.00432, allocations: 32 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.004364, allocations: 84.58 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.004452, allocations: 103.7 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.004661, allocations: 239.2 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004663, allocations: 3.031 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004663, allocations: 0 / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.004668, allocations: 0 / 0.5244 GB, free: 14.01 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.0007702/0.005438, allocations: 0.6615 MB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.005474, allocations: 13 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.005666, allocations: 73.7 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.005877, allocations: 192.2 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.006136, allocations: 0.4926 MB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.006172, allocations: 24.38 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.006455, allocations: 233.2 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.006472, allocations: 12.14 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.006491, allocations: 9.344 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.006502, allocations: 8 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.00665, allocations: 95.92 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.007275, allocations: 0.7727 MB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.007527, allocations: 174.1 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.007755, allocations: 90.12 kB / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.007784, allocations: 11.98 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.008034, allocations: 262.3 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.008036, allocations: 4 kB / 0.5274 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0004856/0.008521, allocations: 363.8 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.008571, allocations: 134.6 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.008687, allocations: 245.2 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.008712, allocations: 40.83 kB / 0.5282 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.008769, allocations: 160.1 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/0.008848, allocations: 154.8 kB / 0.5285 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.008938, allocations: 112 kB / 0.5286 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.009049, allocations: 0.5118 MB / 0.5291 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.009163, allocations: 81.25 kB / 0.5292 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.009338, allocations: 226.7 kB / 0.5294 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.009619, allocations: 328 kB / 0.5297 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009623, allocations: 0 / 0.5297 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003952/0.01002, allocations: 411 kB / 0.5301 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01003, allocations: 4 kB / 0.5301 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01004, allocations: 4 kB / 0.5301 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01006, allocations: 4 kB / 0.5301 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.01026, allocations: 101.5 kB / 0.5302 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.01027, allocations: 11.94 kB / 0.5302 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.01039, allocations: 55.7 kB / 0.5303 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.01041, allocations: 22.75 kB / 0.5303 GB, free: 7.516 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.0001012/0.01051, allocations: 202.4 kB / 0.5305 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.01081, allocations: 39.86 kB / 0.5305 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.01085, allocations: 33.95 kB / 0.5305 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01085, allocations: 4 kB / 0.5306 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.01086, allocations: 13.88 kB / 0.5306 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01086, allocations: 0 / 0.5306 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.01103, allocations: 236.3 kB / 0.5308 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01103, allocations: 0 / 0.5308 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.01122, allocations: 75.89 kB / 0.5309 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01122, allocations: 2.406 kB / 0.5309 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.01125, allocations: 15.98 kB / 0.5309 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01125, allocations: 4 kB / 0.5309 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01125, allocations: 0 / 0.5309 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.01174, allocations: 470.1 kB / 0.5313 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.01176, allocations: 27.75 kB / 0.5314 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01179, allocations: 8.875 kB / 0.5314 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.01188, allocations: 32.62 kB / 0.5314 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.01198, allocations: 69.34 kB / 0.5315 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.012, allocations: 15.98 kB / 0.5315 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.01206, allocations: 167.3 kB / 0.5316 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 0 / 0.5316 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001916/0.01225, allocations: 81.12 kB / 0.5317 GB, free: 5.984 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 9.34e-05/0.01235, allocations: 116.2 kB / 0.5318 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.0127, allocations: 290.3 kB / 0.5321 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0127, allocations: 0 / 0.5321 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01285, allocations: 142.6 kB / 0.5322 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01308, allocations: 59.66 kB / 0.5323 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008385/0.01391, allocations: 0.572 MB / 0.5329 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.253e-05/0.01397, allocations: 101.5 kB / 0.533 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.459e-05/0.01405, allocations: 47.08 kB / 0.533 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.01414, allocations: 44.48 kB / 0.533 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.01414, allocations: 2.531 kB / 0.533 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.005631/0.01977, allocations: 4.238 MB / 0.5372 GB, free: 0.5469 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8558186339214444]