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.001214/0.001214, allocations: 78.48 kB / 19.17 MB, free: 2.516 MB / 14.72 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.00137/0.00137, allocations: 168.2 kB / 22.45 MB, free: 5.371 MB / 14.72 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.397/1.397, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.186/1.186, allocations: 154.7 MB / 413.9 MB, free: 5.168 MB / 382.1 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 178] 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.715e-06/2.715e-06, allocations: 0 / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.78e-05, allocations: 8.25 kB / 0.6188 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002473/0.002511, allocations: 1.021 MB / 0.6198 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.004331, allocations: 1.131 MB / 0.6209 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.004409, allocations: 0 / 0.6209 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.524e-05/0.004464, allocations: 19.73 kB / 0.6209 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.004594, allocations: 47.52 kB / 0.621 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.005123, allocations: 171.1 kB / 0.6211 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.005502, allocations: 327.1 kB / 0.6215 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.005662, allocations: 36.52 kB / 0.6215 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.005988, allocations: 199.6 kB / 0.6217 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.006169, allocations: 119.6 kB / 0.6218 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.006221, allocations: 32 kB / 0.6218 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.006315, allocations: 35.94 kB / 0.6219 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.006429, allocations: 79.77 kB / 0.6219 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.00653, allocations: 91.78 kB / 0.622 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.006907, allocations: 346.9 kB / 0.6224 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.006911, allocations: 8 kB / 0.6224 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006912, allocations: 0 / 0.6224 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.006919, allocations: 0 / 0.6224 GB, free: 0.8516 MB / 0.5294 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.001223/0.008142, allocations: 0.556 MB / 0.6229 GB, free: 272 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.008184, allocations: 8.031 kB / 0.6229 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.008512, allocations: 60.77 kB / 0.623 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.008657, allocations: 138.3 kB / 0.6231 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.009049, allocations: 499.7 kB / 0.6236 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.009115, allocations: 36.33 kB / 0.6236 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.009634, allocations: 271 kB / 0.6239 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.009653, allocations: 192 / 0.6239 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.009691, allocations: 12.38 kB / 0.6239 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.009701, allocations: 8.125 kB / 0.6239 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.01016, allocations: 167.9 kB / 0.6241 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.0113, allocations: 0.6525 MB / 0.6247 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.01181, allocations: 197 kB / 0.6249 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.01207, allocations: 130.5 kB / 0.625 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.01212, allocations: 12 kB / 0.625 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006034/0.01272, allocations: 312.1 kB / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.01273, allocations: 0 / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001057/0.01378, allocations: 487.6 kB / 0.6258 GB, free: 13.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.01386, allocations: 115.2 kB / 0.6259 GB, free: 12.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.01405, allocations: 177 kB / 0.6261 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.01409, allocations: 41.64 kB / 0.6261 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.01418, allocations: 121.3 kB / 0.6262 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.0144, allocations: 158.8 kB / 0.6264 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.01456, allocations: 106.3 kB / 0.6265 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.01472, allocations: 338.8 kB / 0.6268 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.01503, allocations: 149.2 kB / 0.6269 GB, free: 11.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.01549, allocations: 256.7 kB / 0.6272 GB, free: 11.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.01616, allocations: 390 kB / 0.6275 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01616, allocations: 0 / 0.6275 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008717/0.01703, allocations: 0.4893 MB / 0.628 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.01705, allocations: 8 kB / 0.628 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.01706, allocations: 7.984 kB / 0.628 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.01709, allocations: 8 kB / 0.628 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.01748, allocations: 91.83 kB / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.01749, allocations: 7.938 kB / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.01775, allocations: 55.75 kB / 0.6282 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.01779, allocations: 23.98 kB / 0.6282 GB, free: 10.44 MB / 0.545 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.0001885/0.01798, allocations: 160.7 kB / 0.6284 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.01803, allocations: 27.81 kB / 0.6284 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.01811, allocations: 33.95 kB / 0.6284 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.01812, allocations: 8 kB / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.01813, allocations: 0 / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.01813, allocations: 3.938 kB / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.01845, allocations: 241 kB / 0.6287 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01845, allocations: 3.938 kB / 0.6287 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.01885, allocations: 79.83 kB / 0.6288 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.01886, allocations: 8 kB / 0.6288 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.01889, allocations: 11.98 kB / 0.6288 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.01889, allocations: 4.703 kB / 0.6288 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0189, allocations: 0 / 0.6288 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.01999, allocations: 0.5911 MB / 0.6294 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.02002, allocations: 27.75 kB / 0.6294 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.02007, allocations: 15.98 kB / 0.6294 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.0203, allocations: 32.06 kB / 0.6294 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.02045, allocations: 67.78 kB / 0.6295 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.02047, allocations: 8 kB / 0.6295 GB, free: 9.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001418/0.02061, allocations: 137.1 kB / 0.6296 GB, free: 8.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02061, allocations: 0 / 0.6296 GB, free: 8.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003146/0.02093, allocations: 75.94 kB / 0.6297 GB, free: 8.855 MB / 0.545 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.0001585/0.02109, allocations: 118.8 kB / 0.6298 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000759/0.02184, allocations: 367.8 kB / 0.6302 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02185, allocations: 0 / 0.6302 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.02227, allocations: 187.1 kB / 0.6303 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.02259, allocations: 40.17 kB / 0.6304 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.02375, allocations: 0.5792 MB / 0.6309 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.0239, allocations: 156.2 kB / 0.6311 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.02405, allocations: 39.14 kB / 0.6311 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.02416, allocations: 36.5 kB / 0.6312 GB, free: 7.301 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.02416, allocations: 0 / 0.6312 GB, free: 7.301 MB / 0.545 GB Notification: Performance of Templates: time 0.008727/0.03288, allocations: 4.021 MB / 0.6351 GB, free: 3.355 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.742997860535979] Failed to read output from testmodel.py, exit status != 0: 0.041093965992331505 0.055550352000000004 0.045702241000000005 Calling exit ...