Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001368/0.001368, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001376/0.001376, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.22/1.22, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.6187 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.796e-05/4.079e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003436/0.003476, allocations: 1.907 MB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.005006, allocations: 0.7011 MB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.005185, allocations: 7.938 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.426e-05/0.00525, allocations: 19.73 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.005404, allocations: 43.52 kB / 0.6213 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.006012, allocations: 182.7 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.006494, allocations: 343 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.006723, allocations: 44.84 kB / 0.6218 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.007178, allocations: 191.7 kB / 0.622 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.007448, allocations: 115.6 kB / 0.6221 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.977e-05/0.007528, allocations: 32 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.007621, allocations: 32 kB / 0.6222 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.007708, allocations: 79.77 kB / 0.6222 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.007897, allocations: 99.7 kB / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.008382, allocations: 346.9 kB / 0.6227 GB, free: 344 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.008385, allocations: 0 / 0.6227 GB, free: 344 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.52e-07/0.008385, allocations: 0 / 0.6227 GB, free: 344 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.008393, allocations: 0 / 0.6227 GB, free: 344 kB / 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.001397/0.00979, allocations: 0.5676 MB / 0.6232 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.009833, allocations: 12.03 kB / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.0102, allocations: 60.72 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.01059, allocations: 185.4 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004572/0.01104, allocations: 0.4919 MB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.01112, allocations: 40.31 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.01175, allocations: 255.1 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.01178, allocations: 4.188 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.01181, allocations: 16.12 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.01182, allocations: 8 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.0123, allocations: 175.8 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.01345, allocations: 0.6486 MB / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.014, allocations: 203.7 kB / 0.6253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.01427, allocations: 118.5 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.01431, allocations: 15.98 kB / 0.6254 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.01486, allocations: 304.3 kB / 0.6257 GB, free: 12.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.765e-06/0.01486, allocations: 4 kB / 0.6257 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001124/0.01598, allocations: 0.4901 MB / 0.6262 GB, free: 12.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.01613, allocations: 118.7 kB / 0.6263 GB, free: 12.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.01634, allocations: 184.7 kB / 0.6264 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.0164, allocations: 37.7 kB / 0.6265 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.01649, allocations: 125.3 kB / 0.6266 GB, free: 12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.01665, allocations: 154.8 kB / 0.6267 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.01681, allocations: 110.3 kB / 0.6269 GB, free: 11.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01699, allocations: 334.8 kB / 0.6272 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.01732, allocations: 145.2 kB / 0.6273 GB, free: 11.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.01774, allocations: 260.8 kB / 0.6276 GB, free: 10.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.01845, allocations: 394 kB / 0.6279 GB, free: 10.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.01845, allocations: 0 / 0.6279 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009738/0.01943, allocations: 489 kB / 0.6284 GB, free: 10.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.01945, allocations: 4 kB / 0.6284 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.01946, allocations: 8 kB / 0.6284 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.01949, allocations: 8 kB / 0.6284 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.01989, allocations: 95.77 kB / 0.6285 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.01991, allocations: 11.98 kB / 0.6285 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.02022, allocations: 55.81 kB / 0.6286 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.02027, allocations: 24 kB / 0.6286 GB, free: 9.859 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.0002029/0.02047, allocations: 160.7 kB / 0.6288 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.02053, allocations: 43.75 kB / 0.6288 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.02061, allocations: 33.97 kB / 0.6288 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.02061, allocations: 4 kB / 0.6288 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.02063, allocations: 3.938 kB / 0.6288 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.02065, allocations: 7.984 kB / 0.6288 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.021, allocations: 241 kB / 0.6291 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.021, allocations: 4 kB / 0.6291 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.02142, allocations: 75.89 kB / 0.6291 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.02142, allocations: 0 / 0.6291 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.02146, allocations: 15.98 kB / 0.6292 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.02147, allocations: 4 kB / 0.6292 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02147, allocations: 0 / 0.6292 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.02264, allocations: 0.5916 MB / 0.6297 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.02268, allocations: 27.8 kB / 0.6298 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.02273, allocations: 8 kB / 0.6298 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.02297, allocations: 35.95 kB / 0.6298 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.02312, allocations: 55.86 kB / 0.6299 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.02316, allocations: 19.98 kB / 0.6299 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001266/0.02328, allocations: 136.3 kB / 0.63 GB, free: 8.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02328, allocations: 4.125 kB / 0.63 GB, free: 8.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003448/0.02363, allocations: 79.95 kB / 0.6301 GB, free: 8.258 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.0001838/0.02381, allocations: 119 kB / 0.6302 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008576/0.02467, allocations: 360.9 kB / 0.6306 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.02467, allocations: 4 kB / 0.6306 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.02509, allocations: 175.8 kB / 0.6307 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.02545, allocations: 52.27 kB / 0.6308 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.02669, allocations: 0.5805 MB / 0.6313 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.02686, allocations: 171.9 kB / 0.6315 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.027, allocations: 38.97 kB / 0.6315 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.02713, allocations: 36.5 kB / 0.6316 GB, free: 6.688 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.02713, allocations: 0 / 0.6316 GB, free: 6.688 MB / 0.545 GB Notification: Performance of Templates: time 0.009096/0.03622, allocations: 4.014 MB / 0.6355 GB, free: 2.754 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.855283860117197] Failed to read output from testmodel.py, exit status != 0: 0.045076578855514526 0.060300422000000006 0.048710854000000005 Calling exit ...