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.0008733/0.0008733, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0008834/0.0008834, allocations: 181 kB / 23.36 MB, free: 1.133 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.9591/0.9591, allocations: 177.1 MB / 203.8 MB, free: 5.461 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-545:108: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-545:116: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.7799/0.7799, allocations: 154.6 MB / 414.8 MB, free: 476 kB / 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.934e-06/1.934e-06, allocations: 0 / 480.1 MB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.668e-05, allocations: 6.031 kB / 480.1 MB, free: 6.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002378/0.002395, allocations: 1.961 MB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.003358, allocations: 0.7353 MB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.003438, allocations: 0 / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.003481, allocations: 25.05 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.003607, allocations: 45.45 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.00408, allocations: 184.2 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.004337, allocations: 332 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.004435, allocations: 46.77 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.004637, allocations: 196.2 kB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004759, allocations: 125 kB / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.004793, allocations: 28 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.004844, allocations: 32 kB / 483.8 MB, free: 3.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.004888, allocations: 75.77 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.004951, allocations: 101.2 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.00516, allocations: 239.1 kB / 484.2 MB, free: 2.773 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005162, allocations: 5.438 kB / 484.2 MB, free: 2.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005163, allocations: 3.938 kB / 484.2 MB, free: 2.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.005166, allocations: 0 / 484.2 MB, free: 2.766 MB / 442.7 MB 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.0006369/0.005803, allocations: 0.5433 MB / 484.7 MB, free: 2.199 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.005831, allocations: 8.031 kB / 484.7 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.006011, allocations: 72.86 kB / 484.8 MB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.006182, allocations: 161.4 kB / 484.9 MB, free: 1.938 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.006366, allocations: 0.4889 MB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.006405, allocations: 32.36 kB / 485.5 MB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.006613, allocations: 209.5 kB / 485.7 MB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.006625, allocations: 4.141 kB / 485.7 MB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.006644, allocations: 20.98 kB / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.006651, allocations: 4 kB / 485.7 MB, free: 1.062 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.006747, allocations: 72.56 kB / 485.8 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.007287, allocations: 0.5051 MB / 486.3 MB, free: 480 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.007466, allocations: 121.4 kB / 486.4 MB, free: 332 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.007529, allocations: 74.53 kB / 486.5 MB, free: 248 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.007557, allocations: 16.56 kB / 486.5 MB, free: 232 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.00776, allocations: 236.8 kB / 486.7 MB, free: 15.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.007761, allocations: 0.625 kB / 486.7 MB, free: 15.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003042/0.008066, allocations: 253.6 kB / 487 MB, free: 15.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.008117, allocations: 119.8 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.008209, allocations: 183.8 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.008469, allocations: 42.23 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.008509, allocations: 114.3 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.008585, allocations: 154.7 kB / 487.6 MB, free: 15.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.008669, allocations: 106.3 kB / 487.7 MB, free: 14.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.008746, allocations: 347.7 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.008809, allocations: 53.3 kB / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.008937, allocations: 173.7 kB / 488.2 MB, free: 14.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.009132, allocations: 263.2 kB / 488.5 MB, free: 14.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.009135, allocations: 4 kB / 488.5 MB, free: 14.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000253/0.009388, allocations: 283.7 kB / 488.8 MB, free: 13.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.0094, allocations: 8 kB / 488.8 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009405, allocations: 0.625 kB / 488.8 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.009419, allocations: 8 kB / 488.8 MB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.009602, allocations: 93.52 kB / 488.9 MB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.009609, allocations: 7.938 kB / 488.9 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.009727, allocations: 68.52 kB / 488.9 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.009742, allocations: 12 kB / 489 MB, free: 13.6 MB / 458.7 MB 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 9.153e-05/0.009834, allocations: 148.7 kB / 489.1 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.009877, allocations: 36.72 kB / 489.1 MB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.009911, allocations: 35.98 kB / 489.2 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.009915, allocations: 5.812 kB / 489.2 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009918, allocations: 0 / 489.2 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.009926, allocations: 11.92 kB / 489.2 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01007, allocations: 169.6 kB / 489.4 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01007, allocations: 0 / 489.4 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.01025, allocations: 68.91 kB / 489.4 MB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01026, allocations: 4 kB / 489.4 MB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.01028, allocations: 16.55 kB / 489.4 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01028, allocations: 0 / 489.4 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01028, allocations: 5.344 kB / 489.5 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.01059, allocations: 334.5 kB / 489.8 MB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.01061, allocations: 31.73 kB / 489.8 MB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.01064, allocations: 12.81 kB / 489.8 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.01073, allocations: 33.06 kB / 489.9 MB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.01081, allocations: 59.91 kB / 489.9 MB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01083, allocations: 16.92 kB / 489.9 MB, free: 12.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.01086, allocations: 48.95 kB / 490 MB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01086, allocations: 0.5 kB / 490 MB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01104, allocations: 87.88 kB / 490.1 MB, free: 12.46 MB / 458.7 MB 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 8.398e-05/0.01113, allocations: 102.6 kB / 490.2 MB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.01136, allocations: 233.3 kB / 490.4 MB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01136, allocations: 0.9062 kB / 490.4 MB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.01148, allocations: 125.4 kB / 490.5 MB, free: 12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.01163, allocations: 45.88 kB / 490.6 MB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.01234, allocations: 0.5639 MB / 491.1 MB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.01239, allocations: 102.4 kB / 491.2 MB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.769e-05/0.01248, allocations: 42.42 kB / 491.3 MB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.01261, allocations: 107.4 kB / 491.4 MB, free: 11.1 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01261, allocations: 1.844 kB / 491.4 MB, free: 11.1 MB / 458.7 MB Notification: Performance of Templates: time 0.005995/0.01861, allocations: 3.932 MB / 495.3 MB, free: 7.445 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.688583282288164]