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.001251/0.001251, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.001372/0.001372, allocations: 164.5 kB / 22.46 MB, free: 5.359 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.19/1.19, allocations: 154.6 MB / 413.7 MB, free: 5.312 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: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.671e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002148/0.002185, allocations: 1.018 MB / 0.6196 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.00372, allocations: 1.14 MB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.003793, allocations: 0 / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.201e-05/0.003845, allocations: 15.75 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.00396, allocations: 47.5 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.004437, allocations: 155.2 kB / 0.6209 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.004785, allocations: 339 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.004925, allocations: 32.56 kB / 0.6213 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.005242, allocations: 199.6 kB / 0.6215 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.005434, allocations: 115.7 kB / 0.6216 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.00549, allocations: 31.94 kB / 0.6216 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.005577, allocations: 35.94 kB / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.005663, allocations: 79.7 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.005777, allocations: 103.8 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.006163, allocations: 342.9 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.006169, allocations: 8 kB / 0.6221 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.00617, allocations: 0 / 0.6221 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.006178, allocations: 0 / 0.6221 GB, free: 0.9297 MB / 0.5294 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.00124/0.007418, allocations: 0.5521 MB / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.007461, allocations: 9.469 kB / 0.6227 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.00779, allocations: 60.75 kB / 0.6227 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.00793, allocations: 142.2 kB / 0.6229 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.008311, allocations: 0.4919 MB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.008377, allocations: 36.33 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.00889, allocations: 259.1 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.008909, allocations: 4.188 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.00894, allocations: 8.375 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.00895, allocations: 8.125 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.009388, allocations: 179.8 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01041, allocations: 0.6486 MB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.01089, allocations: 199.7 kB / 0.6247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.01115, allocations: 134.5 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.01119, allocations: 11.94 kB / 0.6248 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.01176, allocations: 312.3 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.913e-06/0.01176, allocations: 0 / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001065/0.01283, allocations: 485.3 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.01291, allocations: 119.2 kB / 0.6257 GB, free: 13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.01308, allocations: 176.6 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.01312, allocations: 41.7 kB / 0.6259 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.0132, allocations: 125.3 kB / 0.626 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.01334, allocations: 150.8 kB / 0.6261 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.01349, allocations: 106.3 kB / 0.6262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.01365, allocations: 338.8 kB / 0.6266 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.01395, allocations: 145.2 kB / 0.6267 GB, free: 11.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.01433, allocations: 259.6 kB / 0.627 GB, free: 11.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.01498, allocations: 398 kB / 0.6273 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01498, allocations: 0 / 0.6273 GB, free: 11.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008508/0.01583, allocations: 493 kB / 0.6278 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01585, allocations: 8 kB / 0.6278 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01586, allocations: 4 kB / 0.6278 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.01589, allocations: 8 kB / 0.6278 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.01629, allocations: 95.81 kB / 0.6279 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.0163, allocations: 11.88 kB / 0.6279 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.01658, allocations: 59.75 kB / 0.628 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.01661, allocations: 24 kB / 0.628 GB, free: 10.5 MB / 0.545 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.000173/0.01679, allocations: 164.7 kB / 0.6282 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.01684, allocations: 31.81 kB / 0.6282 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.01691, allocations: 29.97 kB / 0.6282 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.01692, allocations: 8 kB / 0.6282 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.01693, allocations: 0 / 0.6282 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.01694, allocations: 7.922 kB / 0.6282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.01724, allocations: 237.1 kB / 0.6285 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01724, allocations: 0 / 0.6285 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.01764, allocations: 75.89 kB / 0.6285 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01764, allocations: 8.094 kB / 0.6285 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.01768, allocations: 11.98 kB / 0.6286 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.01768, allocations: 4 kB / 0.6286 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01768, allocations: 3.984 kB / 0.6286 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.01878, allocations: 0.5877 MB / 0.6291 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.01881, allocations: 27.75 kB / 0.6292 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.01886, allocations: 8.188 kB / 0.6292 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.01909, allocations: 39.95 kB / 0.6292 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.01924, allocations: 59.8 kB / 0.6293 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.01927, allocations: 19.92 kB / 0.6293 GB, free: 9.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.721e-05/0.01937, allocations: 124.1 kB / 0.6294 GB, free: 9.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01937, allocations: 0 / 0.6294 GB, free: 9.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003213/0.01969, allocations: 83.92 kB / 0.6295 GB, free: 8.922 MB / 0.545 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.0001802/0.01987, allocations: 113.2 kB / 0.6296 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007268/0.0206, allocations: 367.8 kB / 0.6299 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0206, allocations: 0 / 0.6299 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.02096, allocations: 179.8 kB / 0.6301 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.02129, allocations: 44.11 kB / 0.6302 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02236, allocations: 0.5755 MB / 0.6307 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.0225, allocations: 164.1 kB / 0.6309 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.02263, allocations: 34.97 kB / 0.6309 GB, free: 7.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.02275, allocations: 40.48 kB / 0.6309 GB, free: 7.367 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.02275, allocations: 0 / 0.6309 GB, free: 7.367 MB / 0.545 GB Notification: Performance of Templates: time 0.008357/0.03111, allocations: 3.996 MB / 0.6348 GB, free: 3.438 MB / 0.545 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.8639125637710094] Failed to read output from testmodel.py, exit status != 0: 0.03937828540802002 0.053627797000000005 0.044490919000000004 Calling exit ...