Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007183/0.0007183, 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.0007586/0.0007586, 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.8985/0.8985, allocations: 177.1 MB / 203.7 MB, free: 5.684 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.03505/0.03505, allocations: 9.119 MB / 269.2 MB, free: 4.422 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.0003586/0.0003586, allocations: 19.97 kB / 328.7 MB, free: 20.59 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.5 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9295 GB, free: 8.062 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.389e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002409/0.002433, allocations: 1.903 MB / 0.9314 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.003223, allocations: 0.7001 MB / 0.9321 GB, free: 5.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.003304, allocations: 9.344 kB / 0.9321 GB, free: 5.453 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.003342, allocations: 19.73 kB / 0.9321 GB, free: 5.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.003436, allocations: 47.95 kB / 0.9322 GB, free: 5.387 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.003805, allocations: 180.8 kB / 0.9323 GB, free: 5.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.004042, allocations: 343 kB / 0.9327 GB, free: 4.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004166, allocations: 32.91 kB / 0.9327 GB, free: 4.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.004391, allocations: 199.6 kB / 0.9329 GB, free: 4.652 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.004521, allocations: 121.9 kB / 0.933 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.004557, allocations: 28 kB / 0.933 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.004612, allocations: 32 kB / 0.9331 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.004657, allocations: 83.77 kB / 0.9331 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.004724, allocations: 99.7 kB / 0.9332 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.004973, allocations: 342.9 kB / 0.9336 GB, free: 3.961 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004975, allocations: 1.812 kB / 0.9336 GB, free: 3.961 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004976, allocations: 0 / 0.9336 GB, free: 3.961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.00498, allocations: 0 / 0.9336 GB, free: 3.961 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.0007513/0.005732, allocations: 0.5674 MB / 0.9341 GB, free: 3.363 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.005771, allocations: 11.98 kB / 0.9341 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.005955, allocations: 57.69 kB / 0.9342 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.006182, allocations: 190.6 kB / 0.9344 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.006385, allocations: 499.7 kB / 0.9348 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.006427, allocations: 29.66 kB / 0.9349 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.006744, allocations: 267 kB / 0.9351 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.00676, allocations: 4.141 kB / 0.9351 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.00678, allocations: 17.69 kB / 0.9351 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.006786, allocations: 4 kB / 0.9351 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.007038, allocations: 172.6 kB / 0.9353 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.007703, allocations: 0.6561 MB / 0.9359 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.008017, allocations: 187.7 kB / 0.9361 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.008176, allocations: 130.5 kB / 0.9363 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.008207, allocations: 12 kB / 0.9363 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.008523, allocations: 313.8 kB / 0.9366 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/0.008525, allocations: 0 / 0.9366 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0006513/0.009177, allocations: 491.1 kB / 0.937 GB, free: 144 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.009237, allocations: 119 kB / 0.9371 GB, free: 16 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.009353, allocations: 187.4 kB / 0.9373 GB, free: 15.8 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.009379, allocations: 37.7 kB / 0.9374 GB, free: 15.76 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.009434, allocations: 125.3 kB / 0.9375 GB, free: 15.64 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.009514, allocations: 154.8 kB / 0.9376 GB, free: 15.48 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.009607, allocations: 106.3 kB / 0.9377 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0004262/0.01003, allocations: 346.8 kB / 0.9381 GB, free: 15.03 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.01022, allocations: 145.2 kB / 0.9382 GB, free: 14.89 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.01044, allocations: 256.8 kB / 0.9384 GB, free: 14.6 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.01083, allocations: 398 kB / 0.9388 GB, free: 14.17 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01083, allocations: 0 / 0.9388 GB, free: 14.17 MB / 0.7137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005015/0.01134, allocations: 493 kB / 0.9393 GB, free: 13.68 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01135, allocations: 8 kB / 0.9393 GB, free: 13.68 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01136, allocations: 4 kB / 0.9393 GB, free: 13.67 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01137, allocations: 4 kB / 0.9393 GB, free: 13.67 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.01156, allocations: 95.83 kB / 0.9394 GB, free: 13.57 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.01158, allocations: 7.938 kB / 0.9394 GB, free: 13.57 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.0117, allocations: 63.7 kB / 0.9395 GB, free: 13.5 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.01172, allocations: 23.98 kB / 0.9395 GB, free: 13.48 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.0001133/0.01184, allocations: 159.7 kB / 0.9396 GB, free: 13.31 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.01187, allocations: 27.81 kB / 0.9397 GB, free: 13.29 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.01191, allocations: 33.95 kB / 0.9397 GB, free: 13.26 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01191, allocations: 0 / 0.9397 GB, free: 13.26 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01191, allocations: 4 kB / 0.9397 GB, free: 13.25 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.01193, allocations: 31.72 kB / 0.9397 GB, free: 13.22 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.01196, allocations: 12 kB / 0.9397 GB, free: 13.21 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01207, allocations: 35.91 kB / 0.9398 GB, free: 13.18 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.01216, allocations: 63.84 kB / 0.9398 GB, free: 13.11 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005971/0.01276, allocations: 0.6387 MB / 0.9405 GB, free: 12.47 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007351/0.01349, allocations: 0.8762 MB / 0.9413 GB, free: 11.57 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002097/0.0137, allocations: 158 kB / 0.9415 GB, free: 11.42 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.01377, allocations: 136.3 kB / 0.9416 GB, free: 11.29 MB / 0.7137 GB Notification: Performance of Backend: time 6.42e-07/0.01377, allocations: 0 / 0.9416 GB, free: 11.29 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.01441, allocations: 338.8 kB / 0.9419 GB, free: 10.95 MB / 0.7137 GB Notification: Performance of SimCode: time 0.000711/0.01512, allocations: 0.9387 MB / 0.9428 GB, free: 9.965 MB / 0.7137 GB Notification: Performance of Templates: time 0.006419/0.02154, allocations: 5.527 MB / 0.9482 GB, free: 4.535 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.736126694828272] Failed to read output from testmodel.py, exit status != 0: 0.02660241164267063 0.03457858599999994 0.028043692000000002 Calling exit ...