Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007299/0.0007299, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.0007492/0.0007492, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8744/0.8744, allocations: 177.1 MB / 203.6 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03462/0.03462, allocations: 9.124 MB / 269.2 MB, free: 4.449 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003688/0.0003688, allocations: 27.95 kB / 328.7 MB, free: 20.6 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.47/1.47, allocations: 275 MB / 0.6476 GB, free: 2.469 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9295 GB, free: 8.016 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.289e-05, allocations: 6.25 kB / 0.9295 GB, free: 8.012 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001316/0.001339, allocations: 1.018 MB / 0.9305 GB, free: 7.016 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.002258, allocations: 1.136 MB / 0.9316 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.00232, allocations: 4 kB / 0.9316 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.002357, allocations: 24.61 kB / 0.9317 GB, free: 5.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.002442, allocations: 44.45 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.002776, allocations: 162.1 kB / 0.9319 GB, free: 5.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.003203, allocations: 336.4 kB / 0.9322 GB, free: 5.312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003313, allocations: 32.58 kB / 0.9322 GB, free: 5.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.003515, allocations: 195.7 kB / 0.9324 GB, free: 5.086 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.003636, allocations: 116.3 kB / 0.9325 GB, free: 4.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.003669, allocations: 32 kB / 0.9325 GB, free: 4.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.003723, allocations: 37.97 kB / 0.9326 GB, free: 4.906 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.003766, allocations: 75.77 kB / 0.9326 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.003833, allocations: 95.78 kB / 0.9327 GB, free: 4.738 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.004075, allocations: 346.9 kB / 0.9331 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004077, allocations: 0 / 0.9331 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004078, allocations: 0.9062 kB / 0.9331 GB, free: 4.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004082, allocations: 0 / 0.9331 GB, free: 4.398 MB / 0.698 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.0007019/0.004784, allocations: 0.5566 MB / 0.9336 GB, free: 3.816 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.004819, allocations: 11.98 kB / 0.9336 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.004993, allocations: 61.81 kB / 0.9337 GB, free: 3.746 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.005079, allocations: 146.2 kB / 0.9338 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.005263, allocations: 0.4919 MB / 0.9343 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.005303, allocations: 29.55 kB / 0.9343 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.005605, allocations: 267 kB / 0.9346 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.005619, allocations: 4.734 kB / 0.9346 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.005637, allocations: 8.938 kB / 0.9346 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.005643, allocations: 8.125 kB / 0.9346 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.005898, allocations: 181.2 kB / 0.9348 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.006523, allocations: 0.6463 MB / 0.9354 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.006818, allocations: 202.8 kB / 0.9356 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.006967, allocations: 127.3 kB / 0.9357 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.006995, allocations: 8 kB / 0.9357 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.007302, allocations: 316.1 kB / 0.936 GB, free: 1.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.573e-06/0.007303, allocations: 0.7188 kB / 0.936 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0006205/0.007924, allocations: 488.2 kB / 0.9365 GB, free: 0.625 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.007967, allocations: 111.2 kB / 0.9366 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.008067, allocations: 191.9 kB / 0.9368 GB, free: 300 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.008092, allocations: 38.3 kB / 0.9368 GB, free: 256 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.008138, allocations: 109.4 kB / 0.9369 GB, free: 144 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.008225, allocations: 164.8 kB / 0.9371 GB, free: 15.98 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.008312, allocations: 106.3 kB / 0.9372 GB, free: 15.87 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.008393, allocations: 346.8 kB / 0.9375 GB, free: 15.52 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.008575, allocations: 145.2 kB / 0.9377 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.008795, allocations: 250.1 kB / 0.9379 GB, free: 15.1 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.009172, allocations: 391.3 kB / 0.9383 GB, free: 14.68 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.009176, allocations: 11.94 kB / 0.9383 GB, free: 14.67 MB / 0.7137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004974/0.009673, allocations: 490.5 kB / 0.9388 GB, free: 14.18 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.00969, allocations: 8 kB / 0.9388 GB, free: 14.18 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.009695, allocations: 0.6562 kB / 0.9388 GB, free: 14.18 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.00971, allocations: 11.98 kB / 0.9388 GB, free: 14.16 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.009901, allocations: 92.36 kB / 0.9389 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.009911, allocations: 8.719 kB / 0.9389 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.01028, allocations: 64.55 kB / 0.9389 GB, free: 14.01 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.0103, allocations: 20 kB / 0.9389 GB, free: 13.99 MB / 0.7137 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.000101/0.0104, allocations: 157.8 kB / 0.9391 GB, free: 13.82 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.01043, allocations: 31.94 kB / 0.9391 GB, free: 13.79 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.01046, allocations: 33.97 kB / 0.9392 GB, free: 13.76 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01047, allocations: 7.234 kB / 0.9392 GB, free: 13.76 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01047, allocations: 0 / 0.9392 GB, free: 13.76 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.01049, allocations: 31.69 kB / 0.9392 GB, free: 13.73 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.01051, allocations: 15.92 kB / 0.9392 GB, free: 13.71 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.01061, allocations: 31.97 kB / 0.9392 GB, free: 13.68 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.0107, allocations: 55.91 kB / 0.9393 GB, free: 13.62 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005828/0.01129, allocations: 0.6328 MB / 0.9399 GB, free: 12.98 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007138/0.012, allocations: 0.8768 MB / 0.9408 GB, free: 12.09 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002027/0.0122, allocations: 166.5 kB / 0.9409 GB, free: 11.93 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.01226, allocations: 125.2 kB / 0.941 GB, free: 11.81 MB / 0.7137 GB Notification: Performance of Backend: time 1.21e-07/0.01226, allocations: 7.875 kB / 0.9411 GB, free: 11.8 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.01286, allocations: 329.1 kB / 0.9414 GB, free: 11.47 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0006595/0.01352, allocations: 0.9707 MB / 0.9423 GB, free: 10.46 MB / 0.7137 GB Notification: Performance of Templates: time 0.006043/0.01956, allocations: 5.495 MB / 0.9477 GB, free: 5.051 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.744349110871553] Failed to read output from testmodel.py, exit status != 0: 0.02434199582785368 0.032904159 0.026997224 Calling exit ...