Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001306/0.001306, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001887/0.001887, allocations: 173 kB / 23.49 MB, free: 1.055 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.025/1.025, 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 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.8527/0.8527, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.5204 GB, free: 2.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.135e-05, allocations: 3.219 kB / 0.5204 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002194/0.002226, allocations: 1.053 MB / 0.5214 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.003928, allocations: 1.152 MB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.004038, allocations: 0.5625 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.004096, allocations: 19.73 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.004237, allocations: 45.03 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.004811, allocations: 163.5 kB / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.005183, allocations: 335 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.005333, allocations: 32.58 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.005676, allocations: 188.2 kB / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.005863, allocations: 128.5 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.005914, allocations: 28 kB / 0.5235 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.005992, allocations: 33.88 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.006061, allocations: 79.77 kB / 0.5236 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.006167, allocations: 99.77 kB / 0.5237 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.006501, allocations: 239.2 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.006504, allocations: 0 / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006505, allocations: 1.031 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.006511, allocations: 0 / 0.5239 GB, free: 14.89 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.001071/0.007582, allocations: 0.6515 MB / 0.5245 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.00763, allocations: 12.8 kB / 0.5245 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.007923, allocations: 81.5 kB / 0.5246 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.00806, allocations: 141.2 kB / 0.5247 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.008346, allocations: 498.6 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.008436, allocations: 32.36 kB / 0.5253 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.008835, allocations: 236.2 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.008854, allocations: 4.172 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.008881, allocations: 12.36 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.008895, allocations: 8.125 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.009114, allocations: 91.88 kB / 0.5256 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01013, allocations: 0.7842 MB / 0.5264 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.01051, allocations: 173.1 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.01067, allocations: 88.45 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.0107, allocations: 13.03 kB / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.01107, allocations: 266.3 kB / 0.5269 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.01107, allocations: 1.188 kB / 0.5269 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0007273/0.0118, allocations: 371.7 kB / 0.5272 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.01187, allocations: 123.1 kB / 0.5273 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01204, allocations: 229.2 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.01208, allocations: 37.7 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.01217, allocations: 172.7 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.01229, allocations: 158.2 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.01245, allocations: 112 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01264, allocations: 0.5118 MB / 0.5285 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.01283, allocations: 85.27 kB / 0.5286 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.01311, allocations: 222.7 kB / 0.5288 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.01357, allocations: 327.9 kB / 0.5291 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.01357, allocations: 0 / 0.5291 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004685/0.01404, allocations: 409.5 kB / 0.5295 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01406, allocations: 8 kB / 0.5295 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01407, allocations: 0 / 0.5295 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01408, allocations: 10.62 kB / 0.5295 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.01431, allocations: 95.77 kB / 0.5296 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01432, allocations: 7.938 kB / 0.5296 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01444, allocations: 55.75 kB / 0.5297 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.01446, allocations: 24 kB / 0.5297 GB, free: 8.457 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.0001167/0.01458, allocations: 200.4 kB / 0.5299 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.01463, allocations: 43.81 kB / 0.5299 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.01467, allocations: 33.95 kB / 0.53 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.01468, allocations: 12.77 kB / 0.53 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01468, allocations: 1.062 kB / 0.53 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01469, allocations: 3.938 kB / 0.53 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.01488, allocations: 232.5 kB / 0.5302 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01489, allocations: 2.75 kB / 0.5302 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.0151, allocations: 71.89 kB / 0.5303 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.0151, allocations: 0 / 0.5303 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.01513, allocations: 15.98 kB / 0.5303 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01513, allocations: 4 kB / 0.5303 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01513, allocations: 3.938 kB / 0.5303 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.01568, allocations: 470.8 kB / 0.5308 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.0157, allocations: 26.39 kB / 0.5308 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.01573, allocations: 12 kB / 0.5308 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.01583, allocations: 27.97 kB / 0.5308 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.01594, allocations: 67.84 kB / 0.5309 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.01596, allocations: 15.98 kB / 0.5309 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.01603, allocations: 170.1 kB / 0.5311 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01603, allocations: 0 / 0.5311 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002428/0.01627, allocations: 83.98 kB / 0.5311 GB, free: 6.922 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.0001224/0.01639, allocations: 108 kB / 0.5312 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.01678, allocations: 280.8 kB / 0.5315 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01678, allocations: 0.6562 kB / 0.5315 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01696, allocations: 149.9 kB / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01721, allocations: 52.86 kB / 0.5317 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/0.01818, allocations: 0.5764 MB / 0.5323 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.01824, allocations: 89.62 kB / 0.5324 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.748e-05/0.01833, allocations: 42.86 kB / 0.5324 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.01842, allocations: 42.94 kB / 0.5324 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01842, allocations: 0 / 0.5324 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of Templates: time 0.005754/0.02417, allocations: 4.022 MB / 0.5364 GB, free: 1.723 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9275950989685953]