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.0007522/0.0007522, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.0008025/0.0008025, allocations: 214.9 kB / 23 MB, free: 2.965 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.9348/0.9348, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.7913/0.7913, allocations: 203.5 MB / 0.5046 GB, free: 10.78 MB / 410.7 MB " [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: 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.0008908/0.0008908, allocations: 66.78 kB / 0.7191 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4808, allocations: 102 MB / 0.8187 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002116/0.4829, allocations: 1.901 MB / 0.8205 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.4837, allocations: 0.6972 MB / 0.8212 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.4838, allocations: 6.75 kB / 0.8212 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.4838, allocations: 22.12 kB / 0.8212 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.4839, allocations: 51.38 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.4843, allocations: 172.8 kB / 0.8214 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.4846, allocations: 328.6 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4847, allocations: 40.62 kB / 0.8218 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.4849, allocations: 141.4 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.485, allocations: 136.9 kB / 0.8221 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.4851, allocations: 27.88 kB / 0.8221 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.253e-05/0.4851, allocations: 32.41 kB / 0.8221 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.4852, allocations: 84.12 kB / 0.8222 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.4852, allocations: 111.5 kB / 0.8223 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.4855, allocations: 323.4 kB / 0.8226 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4855, allocations: 0 / 0.8226 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.356e-06/0.4855, allocations: 1.625 kB / 0.8226 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4855, allocations: 0 / 0.8226 GB, free: 15.09 MB / 0.6198 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.0007686/0.4863, allocations: 0.5652 MB / 0.8232 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.4863, allocations: 9.781 kB / 0.8232 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.4865, allocations: 60.02 kB / 0.8232 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.4868, allocations: 195.7 kB / 0.8234 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.487, allocations: 0.4889 MB / 0.8239 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.487, allocations: 30.73 kB / 0.8239 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.4875, allocations: 263.2 kB / 0.8242 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4875, allocations: 2.125 kB / 0.8242 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4875, allocations: 11.31 kB / 0.8242 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4875, allocations: 5.266 kB / 0.8242 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.4878, allocations: 178.5 kB / 0.8244 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.4885, allocations: 0.6649 MB / 0.825 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.4888, allocations: 198.7 kB / 0.8252 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.489, allocations: 120.7 kB / 0.8253 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.489, allocations: 13.03 kB / 0.8253 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.4894, allocations: 313.2 kB / 0.8256 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.473e-06/0.4894, allocations: 0 / 0.8256 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0007511/0.4902, allocations: 490 kB / 0.8261 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.4902, allocations: 120.6 kB / 0.8262 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.4903, allocations: 186.6 kB / 0.8264 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4904, allocations: 37.8 kB / 0.8264 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.4904, allocations: 125.9 kB / 0.8265 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.4905, allocations: 152 kB / 0.8267 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4906, allocations: 103.8 kB / 0.8268 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.4907, allocations: 346 kB / 0.8271 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.4909, allocations: 142.8 kB / 0.8273 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.4912, allocations: 254.1 kB / 0.8275 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.4916, allocations: 395 kB / 0.8279 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4916, allocations: 9.062 kB / 0.8279 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005893/0.4922, allocations: 494.8 kB / 0.8284 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4922, allocations: 14.28 kB / 0.8284 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4922, allocations: 2.781 kB / 0.8284 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4922, allocations: 10.17 kB / 0.8284 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.4924, allocations: 94.61 kB / 0.8285 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4924, allocations: 6.328 kB / 0.8285 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.4926, allocations: 66.17 kB / 0.8285 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4926, allocations: 20.23 kB / 0.8286 GB, free: 11.06 MB / 0.6198 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.0001108/0.4927, allocations: 159 kB / 0.8287 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.4928, allocations: 34.38 kB / 0.8287 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.4928, allocations: 33.14 kB / 0.8288 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4928, allocations: 5.062 kB / 0.8288 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4928, allocations: 5.281 kB / 0.8288 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4928, allocations: 6.766 kB / 0.8288 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.493, allocations: 233.7 kB / 0.829 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.493, allocations: 1.188 kB / 0.829 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.4932, allocations: 74.38 kB / 0.8291 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4932, allocations: 2.406 kB / 0.8291 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.4933, allocations: 15.89 kB / 0.8291 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4933, allocations: 3.062 kB / 0.8291 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4933, allocations: 1.094 kB / 0.8291 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.494, allocations: 0.593 MB / 0.8297 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.494, allocations: 29.47 kB / 0.8297 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.4941, allocations: 16.91 kB / 0.8297 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4942, allocations: 30.61 kB / 0.8298 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.4943, allocations: 42.45 kB / 0.8298 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.4943, allocations: 13.34 kB / 0.8298 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.222e-05/0.4943, allocations: 133.5 kB / 0.8299 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4943, allocations: 0 / 0.8299 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002339/0.4946, allocations: 84.48 kB / 0.83 GB, free: 10.23 MB / 0.6198 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.0001204/0.4947, allocations: 117 kB / 0.8301 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006422/0.4953, allocations: 363.8 kB / 0.8305 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4953, allocations: 0.5625 kB / 0.8305 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.4956, allocations: 173 kB / 0.8306 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.4959, allocations: 45.28 kB / 0.8307 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.4967, allocations: 0.6557 MB / 0.8313 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4968, allocations: 160.2 kB / 0.8315 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/0.4969, allocations: 38.7 kB / 0.8315 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.4969, allocations: 0 / 0.8315 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of Templates: time 0.00517/0.502, allocations: 4.15 MB / 0.8356 GB, free: 8.734 MB / 0.6198 GB " [Timeout remaining time 659] 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.8193749049678445] Failed to read output from testmodel.py, exit status != 0: 0.5075005572289228 0.5161289680000001 0.028813639000000002 Calling exit ...