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.001497/0.001497, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001975/0.001975, allocations: 217.7 kB / 22.26 MB, free: 5.121 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.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.304/1.304, allocations: 203.8 MB / 0.5042 GB, free: 4.93 MB / 414.1 MB " [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_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.002101/0.002101, allocations: 63.91 kB / 0.7188 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6827/0.6848, allocations: 102 MB / 0.8184 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003289/0.6881, allocations: 1.996 MB / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.6893, allocations: 0.7458 MB / 0.8211 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.6894, allocations: 2.375 kB / 0.8211 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.6895, allocations: 24.77 kB / 0.8211 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.6896, allocations: 38.03 kB / 0.8211 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.6901, allocations: 178.7 kB / 0.8213 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.6905, allocations: 324.6 kB / 0.8216 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.6906, allocations: 47.27 kB / 0.8216 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.6909, allocations: 139.4 kB / 0.8218 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.6911, allocations: 152.3 kB / 0.8219 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.695e-05/0.6912, allocations: 29.44 kB / 0.822 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.6913, allocations: 36.39 kB / 0.822 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.6914, allocations: 76.83 kB / 0.8221 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.6915, allocations: 139.7 kB / 0.8222 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.6919, allocations: 309.5 kB / 0.8225 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6919, allocations: 0.9688 kB / 0.8225 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6919, allocations: 0 / 0.8225 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.6919, allocations: 0 / 0.8225 GB, free: 26.61 MB / 0.6387 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.001224/0.6932, allocations: 0.5667 MB / 0.823 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6932, allocations: 10.94 kB / 0.8231 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.6935, allocations: 69.58 kB / 0.8231 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.6939, allocations: 198.1 kB / 0.8233 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.6941, allocations: 0.4886 MB / 0.8238 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.6941, allocations: 32.86 kB / 0.8238 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.6947, allocations: 262.2 kB / 0.8241 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.6947, allocations: 5.844 kB / 0.8241 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.6947, allocations: 10.83 kB / 0.8241 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6947, allocations: 3.906 kB / 0.8241 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.6952, allocations: 180.8 kB / 0.8243 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.6962, allocations: 0.7444 MB / 0.825 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.6966, allocations: 196.2 kB / 0.8252 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.6969, allocations: 131.4 kB / 0.8253 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.697, allocations: 14.8 kB / 0.8253 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.6975, allocations: 316.6 kB / 0.8256 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.6975, allocations: 3.938 kB / 0.8256 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.001043/0.6985, allocations: 487.3 kB / 0.8261 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.6986, allocations: 112.6 kB / 0.8262 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.6988, allocations: 186.9 kB / 0.8264 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.6988, allocations: 42.16 kB / 0.8264 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.6989, allocations: 118.7 kB / 0.8265 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.699, allocations: 158.3 kB / 0.8267 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.6991, allocations: 104.2 kB / 0.8268 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.6992, allocations: 347.7 kB / 0.8271 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.6995, allocations: 149 kB / 0.8272 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.6999, allocations: 254.3 kB / 0.8275 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.7005, allocations: 390.4 kB / 0.8279 GB, free: 22.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.7005, allocations: 6.016 kB / 0.8279 GB, free: 22.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009106/0.7014, allocations: 494.2 kB / 0.8283 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.7015, allocations: 7.938 kB / 0.8283 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7015, allocations: 3.516 kB / 0.8283 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.7015, allocations: 5.312 kB / 0.8284 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.7019, allocations: 98.56 kB / 0.8284 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.7019, allocations: 10.2 kB / 0.8285 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.7022, allocations: 58.84 kB / 0.8285 GB, free: 22.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.7023, allocations: 20.97 kB / 0.8285 GB, free: 22.55 MB / 0.6387 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.0001621/0.7024, allocations: 158 kB / 0.8287 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.7025, allocations: 33.64 kB / 0.8287 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.151e-05/0.7026, allocations: 32.84 kB / 0.8287 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.7026, allocations: 15.02 kB / 0.8288 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.7026, allocations: 0 / 0.8288 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7026, allocations: 8.578 kB / 0.8288 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.703, allocations: 326.9 kB / 0.8291 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.703, allocations: 1.984 kB / 0.8291 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.7034, allocations: 82.38 kB / 0.8292 GB, free: 22.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7034, allocations: 6.688 kB / 0.8292 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.7035, allocations: 12.08 kB / 0.8292 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.7035, allocations: 1.375 kB / 0.8292 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7035, allocations: 1.375 kB / 0.8292 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7045, allocations: 0.5867 MB / 0.8298 GB, free: 21.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.7045, allocations: 29.78 kB / 0.8298 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.7046, allocations: 9.031 kB / 0.8298 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.7048, allocations: 37.16 kB / 0.8298 GB, free: 21.78 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.705, allocations: 53.78 kB / 0.8299 GB, free: 21.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.705, allocations: 17.66 kB / 0.8299 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.958e-05/0.7051, allocations: 133.9 kB / 0.83 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.7051, allocations: 1.125 kB / 0.83 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003693/0.7055, allocations: 79.69 kB / 0.8301 GB, free: 21.65 MB / 0.6387 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.0001473/0.7056, allocations: 124.9 kB / 0.8302 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007676/0.7064, allocations: 357.5 kB / 0.8306 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7064, allocations: 0 / 0.8306 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.7068, allocations: 187.4 kB / 0.8307 GB, free: 21.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.7071, allocations: 49.38 kB / 0.8308 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.7083, allocations: 0.6159 MB / 0.8314 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.7085, allocations: 0.7667 MB / 0.8321 GB, free: 20.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.7086, allocations: 38.67 kB / 0.8322 GB, free: 20.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7088, allocations: 39.05 kB / 0.8322 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/0.7088, allocations: 4.125 kB / 0.8322 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.01142/0.7202, allocations: 4.162 MB / 0.8363 GB, free: 19.96 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.112790489569306] Failed to read output from testmodel.py, exit status != 0: 0.7291825041174889 0.743688063 0.048800853000000005 Calling exit ...