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.0007279/0.0007279, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007545/0.0007545, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8665/0.8665, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7161/0.7161, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 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 179] 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 1.983e-06/1.983e-06, allocations: 0 / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.425e-05, allocations: 5.094 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002083/0.002107, allocations: 1.901 MB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.003009, allocations: 0.7167 MB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.003095, allocations: 4 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.00314, allocations: 23.67 kB / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.003231, allocations: 43.52 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.003673, allocations: 183.6 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.003931, allocations: 335 kB / 0.6225 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.00405, allocations: 36.84 kB / 0.6226 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.004275, allocations: 203.5 kB / 0.6228 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.004404, allocations: 111.7 kB / 0.6229 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.004442, allocations: 32 kB / 0.6229 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.004498, allocations: 39.98 kB / 0.6229 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.004542, allocations: 75.72 kB / 0.623 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.004608, allocations: 95.78 kB / 0.6231 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.004878, allocations: 343 kB / 0.6234 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.00488, allocations: 4 kB / 0.6234 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004881, allocations: 3.938 kB / 0.6234 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004886, allocations: 0 / 0.6234 GB, free: 8.938 MB / 0.5886 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.0007396/0.005625, allocations: 0.556 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.005659, allocations: 8.031 kB / 0.624 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.005848, allocations: 60.72 kB / 0.624 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.006072, allocations: 197.3 kB / 0.6242 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.006274, allocations: 499.7 kB / 0.6247 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.006316, allocations: 32.36 kB / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.006636, allocations: 259.1 kB / 0.625 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.006653, allocations: 12.11 kB / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.006672, allocations: 8.125 kB / 0.625 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.00668, allocations: 8 kB / 0.625 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.006939, allocations: 175.4 kB / 0.6252 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.007655, allocations: 0.6564 MB / 0.6258 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.00803, allocations: 195.7 kB / 0.626 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.008196, allocations: 130.5 kB / 0.6261 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.008236, allocations: 8 kB / 0.6261 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.008612, allocations: 304.2 kB / 0.6264 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.008614, allocations: 8 kB / 0.6264 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0007387/0.009353, allocations: 485.8 kB / 0.6269 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.009426, allocations: 118.7 kB / 0.627 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.009564, allocations: 182 kB / 0.6272 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.009592, allocations: 41.7 kB / 0.6272 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.009656, allocations: 121.3 kB / 0.6273 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/0.009755, allocations: 162.7 kB / 0.6275 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.009857, allocations: 102.3 kB / 0.6276 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.009949, allocations: 342.8 kB / 0.6279 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.01014, allocations: 149.2 kB / 0.6281 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.01036, allocations: 256.7 kB / 0.6283 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.01075, allocations: 386.1 kB / 0.6287 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01075, allocations: 3.938 kB / 0.6287 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005024/0.01125, allocations: 493.1 kB / 0.6291 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01127, allocations: 7.984 kB / 0.6292 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01128, allocations: 4 kB / 0.6292 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01129, allocations: 12.03 kB / 0.6292 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.01149, allocations: 99.75 kB / 0.6293 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.0115, allocations: 4 kB / 0.6293 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.01163, allocations: 63.77 kB / 0.6293 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01165, allocations: 24.7 kB / 0.6294 GB, free: 2.465 MB / 0.5886 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.0001117/0.01176, allocations: 160.7 kB / 0.6295 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.01179, allocations: 23.86 kB / 0.6295 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.01183, allocations: 37.95 kB / 0.6296 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.01184, allocations: 4 kB / 0.6296 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.01184, allocations: 3.938 kB / 0.6296 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01185, allocations: 4 kB / 0.6296 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01203, allocations: 240.9 kB / 0.6298 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.01203, allocations: 4 kB / 0.6298 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.01224, allocations: 79.89 kB / 0.6299 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01224, allocations: 0 / 0.6299 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.01226, allocations: 15.98 kB / 0.6299 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.01227, allocations: 4 kB / 0.6299 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01227, allocations: 0 / 0.6299 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.01293, allocations: 0.5877 MB / 0.6305 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.01295, allocations: 27.75 kB / 0.6305 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01298, allocations: 19.98 kB / 0.6305 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.01308, allocations: 27.97 kB / 0.6306 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.01315, allocations: 47.88 kB / 0.6306 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.01317, allocations: 15.98 kB / 0.6306 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.01324, allocations: 131.4 kB / 0.6307 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01324, allocations: 288 / 0.6307 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002117/0.01345, allocations: 79.94 kB / 0.6308 GB, free: 0.8984 MB / 0.5886 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.0001146/0.01357, allocations: 119.1 kB / 0.6309 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.01401, allocations: 367.8 kB / 0.6313 GB, free: 420 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01401, allocations: 0 / 0.6313 GB, free: 420 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.01423, allocations: 173 kB / 0.6314 GB, free: 248 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01445, allocations: 50.75 kB / 0.6315 GB, free: 200 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.01517, allocations: 0.6124 MB / 0.6321 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.933e-05/0.01526, allocations: 160.2 kB / 0.6322 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.01536, allocations: 44.48 kB / 0.6323 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.01536, allocations: 0 / 0.6323 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.00398/0.01934, allocations: 4.151 MB / 0.6363 GB, free: 11.2 MB / 0.6042 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.171233942732215] Failed to read output from testmodel.py, exit status != 0: 0.02440891694277525 0.032650662000000004 0.026091962000000003 Calling exit ...