Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007419/0.0007419, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007512/0.0007512, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9009/0.9009, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-531:190: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-531:198: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.7177/0.7177, allocations: 155 MB / 415 MB, free: 488 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009006/0.0009006, allocations: 60.19 kB / 0.62 GB, free: 12.57 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4525, allocations: 102 MB / 0.7195 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001629/0.4541, allocations: 1.025 MB / 0.7205 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.4551, allocations: 1.128 MB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.4552, allocations: 5.281 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.4552, allocations: 17.72 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.4553, allocations: 41.66 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.4558, allocations: 156.4 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.4561, allocations: 328.6 kB / 0.7222 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.4563, allocations: 39.17 kB / 0.7222 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004069/0.4567, allocations: 211.8 kB / 0.7224 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.4569, allocations: 128.2 kB / 0.7225 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.4569, allocations: 29 kB / 0.7226 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.457, allocations: 33.38 kB / 0.7226 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.457, allocations: 78.97 kB / 0.7227 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.4571, allocations: 119.3 kB / 0.7228 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.4575, allocations: 363.1 kB / 0.7231 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4575, allocations: 1.062 kB / 0.7231 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4575, allocations: 0 / 0.7231 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4575, allocations: 0 / 0.7231 GB, free: 21.36 MB / 0.6355 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.0008197/0.4583, allocations: 0.565 MB / 0.7237 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4584, allocations: 10.75 kB / 0.7237 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.4586, allocations: 59.97 kB / 0.7238 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.4587, allocations: 144.2 kB / 0.7239 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.4588, allocations: 0.4884 MB / 0.7244 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.4589, allocations: 32.08 kB / 0.7244 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.4592, allocations: 262.5 kB / 0.7246 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4593, allocations: 5.781 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.4593, allocations: 7.938 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4593, allocations: 4.531 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.4596, allocations: 185.4 kB / 0.7248 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.4603, allocations: 0.6477 MB / 0.7255 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.4606, allocations: 195.9 kB / 0.7257 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.4608, allocations: 133.7 kB / 0.7258 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.4608, allocations: 8.828 kB / 0.7258 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.4612, allocations: 324.6 kB / 0.7261 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/0.4612, allocations: 0 / 0.7261 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0006868/0.4619, allocations: 493.1 kB / 0.7266 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.4619, allocations: 120.2 kB / 0.7267 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.462, allocations: 182.4 kB / 0.7269 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4621, allocations: 41.86 kB / 0.7269 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.4621, allocations: 118.3 kB / 0.727 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.4622, allocations: 156.4 kB / 0.7272 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.4623, allocations: 105 kB / 0.7273 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.4623, allocations: 339.8 kB / 0.7276 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.4625, allocations: 148.5 kB / 0.7277 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4628, allocations: 248.1 kB / 0.728 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4632, allocations: 401.1 kB / 0.7284 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4632, allocations: 0 / 0.7284 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005391/0.4637, allocations: 490.6 kB / 0.7288 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4637, allocations: 5.844 kB / 0.7288 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4637, allocations: 4.422 kB / 0.7288 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4637, allocations: 9.25 kB / 0.7288 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.464, allocations: 102.9 kB / 0.7289 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.464, allocations: 5.438 kB / 0.7289 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4641, allocations: 54.66 kB / 0.729 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.4641, allocations: 24.2 kB / 0.729 GB, free: 17.38 MB / 0.6355 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.0001076/0.4642, allocations: 164.2 kB / 0.7292 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.4643, allocations: 28.56 kB / 0.7292 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.4643, allocations: 40.27 kB / 0.7292 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4643, allocations: 5.5 kB / 0.7292 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4643, allocations: 5.719 kB / 0.7292 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4643, allocations: 3.625 kB / 0.7293 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.4645, allocations: 239.6 kB / 0.7295 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4646, allocations: 5.484 kB / 0.7295 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4648, allocations: 74.62 kB / 0.7296 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4648, allocations: 3.047 kB / 0.7296 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4648, allocations: 10.67 kB / 0.7296 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4648, allocations: 6.25 kB / 0.7296 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4648, allocations: 5.859 kB / 0.7296 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.4655, allocations: 0.5806 MB / 0.7301 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.4655, allocations: 32.61 kB / 0.7302 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4656, allocations: 12.59 kB / 0.7302 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4657, allocations: 37.59 kB / 0.7302 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.4658, allocations: 39.86 kB / 0.7303 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.4658, allocations: 24.45 kB / 0.7303 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.4658, allocations: 122.5 kB / 0.7304 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4658, allocations: 0 / 0.7304 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002402/0.4661, allocations: 81.34 kB / 0.7305 GB, free: 16.53 MB / 0.6355 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.0001101/0.4662, allocations: 113.2 kB / 0.7306 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.4667, allocations: 369.3 kB / 0.7309 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4667, allocations: 0 / 0.7309 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4669, allocations: 170.3 kB / 0.7311 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.4671, allocations: 40.3 kB / 0.7311 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.468, allocations: 0.66 MB / 0.7318 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.4681, allocations: 156.9 kB / 0.7319 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4682, allocations: 35.34 kB / 0.732 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.4682, allocations: 0 / 0.732 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.006085/0.4742, allocations: 4.102 MB / 0.736 GB, free: 15.35 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.746448513818905] Failed to read output from testmodel.py, exit status != 0: 0.4796405448578298 0.488867327 0.029452970000000002 Calling exit ...