Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006995/0.0006995, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007007/0.0007007, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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.8564/0.8564, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7307/0.7307, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.0008424/0.0008424, allocations: 77.5 kB / 0.7194 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3946, allocations: 102 MB / 0.8191 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.001832/0.3964, allocations: 1.905 MB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.3972, allocations: 0.7064 MB / 0.8216 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.3973, allocations: 1.281 kB / 0.8216 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.3973, allocations: 22.83 kB / 0.8216 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.3974, allocations: 45.25 kB / 0.8217 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.3977, allocations: 180.1 kB / 0.8219 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.398, allocations: 330.6 kB / 0.8222 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3981, allocations: 34.94 kB / 0.8222 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3983, allocations: 138.7 kB / 0.8223 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3984, allocations: 142 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.3984, allocations: 29.47 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.3985, allocations: 35.34 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.3985, allocations: 81 kB / 0.8226 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.3986, allocations: 114.3 kB / 0.8227 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3989, allocations: 314.6 kB / 0.823 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3989, allocations: 0 / 0.823 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3989, allocations: 0 / 0.823 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3989, allocations: 3.938 kB / 0.823 GB, free: 14.88 MB / 0.6198 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.000763/0.3997, allocations: 0.5668 MB / 0.8236 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3997, allocations: 10 kB / 0.8236 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.3999, allocations: 60.12 kB / 0.8236 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.4001, allocations: 197.8 kB / 0.8238 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.4003, allocations: 495.3 kB / 0.8243 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.4004, allocations: 35.73 kB / 0.8243 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.4007, allocations: 257.4 kB / 0.8246 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4007, allocations: 11.02 kB / 0.8246 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.4007, allocations: 9.875 kB / 0.8246 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4007, allocations: 5.562 kB / 0.8246 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.401, allocations: 177.3 kB / 0.8248 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.4017, allocations: 0.6524 MB / 0.8254 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.402, allocations: 196.4 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.4021, allocations: 132.1 kB / 0.8257 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4022, allocations: 13.08 kB / 0.8257 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.4025, allocations: 313 kB / 0.826 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.483e-06/0.4025, allocations: 0 / 0.826 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0006911/0.4032, allocations: 495.3 kB / 0.8265 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4033, allocations: 112.2 kB / 0.8266 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.4034, allocations: 182.1 kB / 0.8268 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.4034, allocations: 43.53 kB / 0.8268 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.4035, allocations: 123.7 kB / 0.827 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.4036, allocations: 152.4 kB / 0.8271 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.4037, allocations: 104 kB / 0.8272 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.4038, allocations: 340.9 kB / 0.8275 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.404, allocations: 147.2 kB / 0.8277 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.4042, allocations: 253.7 kB / 0.8279 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.4046, allocations: 404.4 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4046, allocations: 1.438 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005412/0.4052, allocations: 490.5 kB / 0.8288 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4052, allocations: 10.31 kB / 0.8288 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4052, allocations: 3.203 kB / 0.8288 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4052, allocations: 9.375 kB / 0.8288 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.4054, allocations: 103 kB / 0.8289 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4054, allocations: 6.438 kB / 0.8289 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4056, allocations: 63.34 kB / 0.8289 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.4056, allocations: 20.36 kB / 0.829 GB, free: 10.86 MB / 0.6198 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.0001152/0.4057, allocations: 157.8 kB / 0.8291 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4057, allocations: 33.23 kB / 0.8291 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.4058, allocations: 32.75 kB / 0.8292 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4058, allocations: 9.516 kB / 0.8292 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4058, allocations: 1.094 kB / 0.8292 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4058, allocations: 7.859 kB / 0.8292 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.406, allocations: 233.9 kB / 0.8294 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.406, allocations: 0.6094 kB / 0.8294 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4062, allocations: 74.78 kB / 0.8295 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4062, allocations: 2.469 kB / 0.8295 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4062, allocations: 19.7 kB / 0.8295 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4062, allocations: 2.906 kB / 0.8295 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4062, allocations: 1.125 kB / 0.8295 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.407, allocations: 0.5899 MB / 0.8301 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.407, allocations: 25.42 kB / 0.8301 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.407, allocations: 13.52 kB / 0.8301 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4071, allocations: 33.02 kB / 0.8302 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.4072, allocations: 46.84 kB / 0.8302 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.4072, allocations: 17.41 kB / 0.8302 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.618e-05/0.4073, allocations: 130.2 kB / 0.8303 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4073, allocations: 4.094 kB / 0.8303 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002421/0.4076, allocations: 88.28 kB / 0.8304 GB, free: 10.02 MB / 0.6198 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.0001108/0.4077, allocations: 117 kB / 0.8305 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.4082, allocations: 358.9 kB / 0.8309 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4082, allocations: 0 / 0.8309 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.4085, allocations: 181 kB / 0.8311 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.4087, allocations: 38.19 kB / 0.8311 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.4094, allocations: 0.6561 MB / 0.8317 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.4095, allocations: 158.9 kB / 0.8319 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4096, allocations: 39.02 kB / 0.8319 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.4096, allocations: 5.469 kB / 0.8319 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of Templates: time 0.004522/0.4141, allocations: 4.135 MB / 0.836 GB, free: 8.453 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664795001968741] Failed to read output from testmodel.py, exit status != 0: 0.4188481392338872 0.42749393599999996 0.026957580000000002 Calling exit ...