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.0006735/0.0006735, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.001095/0.001095, allocations: 207.8 kB / 23 MB, free: 3.121 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.923/0.923, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.7612/0.7612, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 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.0009635/0.0009635, allocations: 67.88 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4382, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002419/0.4406, allocations: 2.003 MB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009284/0.4416, allocations: 0.7425 MB / 0.8218 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.4417, allocations: 3.406 kB / 0.8218 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.4417, allocations: 22.83 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.4418, allocations: 42.41 kB / 0.8219 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.4423, allocations: 178.7 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.4426, allocations: 328.8 kB / 0.8224 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.4427, allocations: 42.94 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.4429, allocations: 141.8 kB / 0.8225 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.4431, allocations: 150 kB / 0.8227 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.4431, allocations: 29.75 kB / 0.8227 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.4432, allocations: 36.8 kB / 0.8227 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.4432, allocations: 75.58 kB / 0.8228 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.188e-05/0.4433, allocations: 140 kB / 0.823 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.4437, allocations: 309 kB / 0.8232 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4437, allocations: 1 kB / 0.8232 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4437, allocations: 0 / 0.8232 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.4437, allocations: 1.094 kB / 0.8232 GB, free: 22.62 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.0007966/0.4445, allocations: 0.5704 MB / 0.8238 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4445, allocations: 10.84 kB / 0.8238 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.4447, allocations: 63.7 kB / 0.8239 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.445, allocations: 201.4 kB / 0.8241 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.4451, allocations: 499.7 kB / 0.8245 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.4452, allocations: 32.56 kB / 0.8246 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.4456, allocations: 263.3 kB / 0.8248 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4456, allocations: 1.703 kB / 0.8248 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4456, allocations: 12.19 kB / 0.8248 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4456, allocations: 4.812 kB / 0.8248 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.4459, allocations: 173.1 kB / 0.825 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.4466, allocations: 0.7536 MB / 0.8257 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4469, allocations: 199 kB / 0.8259 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.4471, allocations: 128.3 kB / 0.8261 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.4471, allocations: 12.09 kB / 0.8261 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.4474, allocations: 312.4 kB / 0.8264 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 1.543e-06/0.4474, allocations: 0 / 0.8264 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0006721/0.4481, allocations: 489.9 kB / 0.8268 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4481, allocations: 120.3 kB / 0.827 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4483, allocations: 186.5 kB / 0.8271 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.4483, allocations: 39.08 kB / 0.8272 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.4483, allocations: 117.4 kB / 0.8273 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.4484, allocations: 159.3 kB / 0.8274 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.4485, allocations: 104.6 kB / 0.8275 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.4485, allocations: 344 kB / 0.8279 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.4487, allocations: 148.1 kB / 0.828 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.449, allocations: 258.7 kB / 0.8282 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.4494, allocations: 394.2 kB / 0.8286 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4494, allocations: 1.469 kB / 0.8286 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005286/0.4499, allocations: 494 kB / 0.8291 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4499, allocations: 6.781 kB / 0.8291 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4499, allocations: 2.922 kB / 0.8291 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4499, allocations: 5.906 kB / 0.8291 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.4502, allocations: 99.7 kB / 0.8292 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4502, allocations: 10.34 kB / 0.8292 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.4503, allocations: 65.89 kB / 0.8293 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.4503, allocations: 19.77 kB / 0.8293 GB, free: 18.55 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.000108/0.4504, allocations: 163.5 kB / 0.8295 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.4505, allocations: 29.47 kB / 0.8295 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.4505, allocations: 32.88 kB / 0.8295 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4505, allocations: 5.047 kB / 0.8295 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4505, allocations: 1.656 kB / 0.8295 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4505, allocations: 6.328 kB / 0.8295 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4508, allocations: 325.5 kB / 0.8298 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4508, allocations: 5.438 kB / 0.8298 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.451, allocations: 74.64 kB / 0.8299 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.451, allocations: 1.812 kB / 0.8299 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.451, allocations: 16.67 kB / 0.8299 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.451, allocations: 2.938 kB / 0.8299 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.451, allocations: 0 / 0.8299 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.4517, allocations: 0.5905 MB / 0.8305 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.4517, allocations: 33.2 kB / 0.8305 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.4518, allocations: 9.188 kB / 0.8305 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4519, allocations: 37.47 kB / 0.8306 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.452, allocations: 43.38 kB / 0.8306 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.452, allocations: 16.91 kB / 0.8306 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.4521, allocations: 130.5 kB / 0.8308 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4521, allocations: 0 / 0.8308 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002538/0.4523, allocations: 79.02 kB / 0.8308 GB, free: 17.67 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.0001194/0.4524, allocations: 118.7 kB / 0.831 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005053/0.4529, allocations: 371.1 kB / 0.8313 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4529, allocations: 0 / 0.8313 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.4532, allocations: 178 kB / 0.8315 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4534, allocations: 54.59 kB / 0.8315 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/0.4542, allocations: 0.6442 MB / 0.8322 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.4544, allocations: 0.766 MB / 0.8329 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4545, allocations: 39.28 kB / 0.8329 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.333e-06/0.4545, allocations: 0 / 0.8329 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.005833/0.4603, allocations: 4.057 MB / 0.8369 GB, free: 15.87 MB / 0.6355 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.6308005140163] Failed to read output from testmodel.py, exit status != 0: 0.4661951782181859 0.474776236 0.029182242 Calling exit ...