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.001337/0.001337, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001398/0.001398, allocations: 167.9 kB / 22.44 MB, free: 5.309 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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 1.14/1.14, allocations: 155 MB / 414.2 MB, free: 4.965 MB / 382.1 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 178] 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.002085/0.002085, allocations: 65.66 kB / 0.6192 GB, free: 4.105 MB / 0.5294 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.5614/0.5634, allocations: 102 MB / 0.7188 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002185/0.5656, allocations: 1.028 MB / 0.7198 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.567, allocations: 1.134 MB / 0.7209 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.567, allocations: 2.656 kB / 0.7209 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.27e-05/0.5671, allocations: 21.61 kB / 0.7209 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.5672, allocations: 41.97 kB / 0.721 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.5677, allocations: 154.7 kB / 0.7211 GB, free: 160 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.568, allocations: 327.3 kB / 0.7214 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.5682, allocations: 34.22 kB / 0.7215 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.5686, allocations: 208.6 kB / 0.7217 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.5689, allocations: 135.8 kB / 0.7218 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.5689, allocations: 29.09 kB / 0.7218 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.569, allocations: 36.7 kB / 0.7219 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.5691, allocations: 75.78 kB / 0.7219 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.5692, allocations: 118.8 kB / 0.722 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.5697, allocations: 355.5 kB / 0.7224 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5697, allocations: 0 / 0.7224 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5697, allocations: 1.156 kB / 0.7224 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5697, allocations: 0 / 0.7224 GB, free: 15.59 MB / 0.6231 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.00135/0.5711, allocations: 0.5677 MB / 0.7229 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5711, allocations: 14.22 kB / 0.723 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.5715, allocations: 55.2 kB / 0.723 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.5716, allocations: 145.5 kB / 0.7231 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/0.572, allocations: 500 kB / 0.7236 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.5721, allocations: 32.2 kB / 0.7237 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.5727, allocations: 266.6 kB / 0.7239 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.5728, allocations: 5.094 kB / 0.7239 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.5728, allocations: 11.64 kB / 0.7239 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5728, allocations: 8.594 kB / 0.7239 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.5733, allocations: 176.9 kB / 0.7241 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.5747, allocations: 0.648 MB / 0.7247 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.5753, allocations: 191.9 kB / 0.7249 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.5756, allocations: 138.4 kB / 0.725 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.5757, allocations: 8.344 kB / 0.7251 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.5764, allocations: 317 kB / 0.7254 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.845e-06/0.5764, allocations: 0 / 0.7254 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.001249/0.5777, allocations: 491.3 kB / 0.7258 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.5778, allocations: 119.1 kB / 0.7259 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.578, allocations: 178.2 kB / 0.7261 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.578, allocations: 43.36 kB / 0.7262 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.5781, allocations: 117.6 kB / 0.7263 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5783, allocations: 154.6 kB / 0.7264 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.5785, allocations: 104.7 kB / 0.7265 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5787, allocations: 340.1 kB / 0.7268 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.579, allocations: 148.2 kB / 0.727 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.5794, allocations: 261.2 kB / 0.7272 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.5801, allocations: 398.2 kB / 0.7276 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5801, allocations: 1.438 kB / 0.7276 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009811/0.5811, allocations: 488.5 kB / 0.7281 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5811, allocations: 5.156 kB / 0.7281 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5812, allocations: 4.266 kB / 0.7281 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.5812, allocations: 9.562 kB / 0.7281 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.5816, allocations: 99.42 kB / 0.7282 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.5816, allocations: 9.859 kB / 0.7282 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.5819, allocations: 57.2 kB / 0.7283 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.582, allocations: 21.22 kB / 0.7283 GB, free: 11.6 MB / 0.6231 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.0002184/0.5822, allocations: 162.8 kB / 0.7284 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.5823, allocations: 29.88 kB / 0.7285 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.5823, allocations: 40.19 kB / 0.7285 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.5824, allocations: 5.188 kB / 0.7285 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5824, allocations: 2.141 kB / 0.7285 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5824, allocations: 7.766 kB / 0.7285 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.5828, allocations: 230.8 kB / 0.7287 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5828, allocations: 6.469 kB / 0.7287 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.5832, allocations: 74.45 kB / 0.7288 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5832, allocations: 2.094 kB / 0.7288 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.5832, allocations: 12.25 kB / 0.7288 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5832, allocations: 6.094 kB / 0.7288 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5832, allocations: 5.188 kB / 0.7288 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.5844, allocations: 0.5951 MB / 0.7294 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.5845, allocations: 28.52 kB / 0.7294 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.5845, allocations: 14.3 kB / 0.7295 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.5847, allocations: 32.42 kB / 0.7295 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.5849, allocations: 61.81 kB / 0.7295 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.5849, allocations: 18.67 kB / 0.7296 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001163/0.585, allocations: 125.7 kB / 0.7297 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.585, allocations: 0 / 0.7297 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003544/0.5854, allocations: 76.83 kB / 0.7298 GB, free: 10.75 MB / 0.6231 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.0001628/0.5856, allocations: 117.8 kB / 0.7299 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007905/0.5864, allocations: 364.2 kB / 0.7302 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5864, allocations: 0 / 0.7302 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.5868, allocations: 191.1 kB / 0.7304 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.5871, allocations: 46.81 kB / 0.7304 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.5884, allocations: 0.6184 MB / 0.731 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.5885, allocations: 156.5 kB / 0.7312 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000155/0.5887, allocations: 38.17 kB / 0.7312 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.5888, allocations: 38.08 kB / 0.7313 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.5888, allocations: 0 / 0.7313 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of Templates: time 0.009535/0.5984, allocations: 4.028 MB / 0.7352 GB, free: 9.551 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.316956453025341] Failed to read output from testmodel.py, exit status != 0: 0.6073019355535507 0.623350453 0.050382319 Calling exit ...