Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.MovingAverage") translateModel(AixLib.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001238, allocations: 112.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06033/0.06033, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005998/0.0005999, allocations: 38.84 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.54/1.54, allocations: 268.2 MB / 0.6617 GB, free: 2.605 MB / 478.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "CVode" Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 111.8 kB / 0.888 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5347, allocations: 108.4 MB / 0.9939 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.MovingAverage): time 0.002855/0.5376, allocations: 1.598 MB / 0.9954 GB, free: 15.5 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.5385, allocations: 498.7 kB / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.5386, allocations: 4 kB / 0.9959 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.5388, allocations: 7.875 kB / 0.9959 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.5388, allocations: 15.86 kB / 0.9959 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.5391, allocations: 55.81 kB / 0.996 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.5393, allocations: 83.77 kB / 0.996 GB, free: 14.84 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.5395, allocations: 23.66 kB / 0.9961 GB, free: 14.82 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.5395, allocations: 35.86 kB / 0.9961 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.5396, allocations: 39.81 kB / 0.9961 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.5397, allocations: 8 kB / 0.9961 GB, free: 14.74 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.5397, allocations: 11.94 kB / 0.9962 GB, free: 14.73 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.5397, allocations: 8 kB / 0.9962 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.5398, allocations: 35.8 kB / 0.9962 GB, free: 14.69 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.54, allocations: 79.7 kB / 0.9963 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.54, allocations: 4 kB / 0.9963 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.292e-06/0.54, allocations: 0 / 0.9963 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.54, allocations: 0 / 0.9963 GB, free: 14.61 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008672/0.5409, allocations: 423.8 kB / 0.9967 GB, free: 14.14 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.5409, allocations: 8.031 kB / 0.9967 GB, free: 14.13 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.541, allocations: 8.844 kB / 0.9967 GB, free: 14.12 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.5414, allocations: 196.2 kB / 0.9969 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5414, allocations: 4.375 kB / 0.9969 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.5414, allocations: 8.375 kB / 0.9969 GB, free: 13.88 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.5417, allocations: 104.5 kB / 0.997 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5417, allocations: 0 / 0.997 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5418, allocations: 3.984 kB / 0.997 GB, free: 13.76 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5418, allocations: 4 kB / 0.997 GB, free: 13.76 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.542, allocations: 59.89 kB / 0.9971 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.5427, allocations: 492.9 kB / 0.9975 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.543, allocations: 78.52 kB / 0.9976 GB, free: 13.07 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5432, allocations: 28.97 kB / 0.9976 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5432, allocations: 4 kB / 0.9976 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.5434, allocations: 91.38 kB / 0.9977 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5434, allocations: 0 / 0.9977 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.0004802/0.5439, allocations: 125.5 kB / 0.9978 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.544, allocations: 55.41 kB / 0.9979 GB, free: 12.74 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.5442, allocations: 132.2 kB / 0.998 GB, free: 12.6 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.5442, allocations: 25.7 kB / 0.9981 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.5443, allocations: 103.9 kB / 0.9982 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.5443, allocations: 23.69 kB / 0.9982 GB, free: 12.44 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.5444, allocations: 25.7 kB / 0.9982 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5445, allocations: 330.8 kB / 0.9985 GB, free: 12.08 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.5447, allocations: 35.97 kB / 0.9985 GB, free: 12.04 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.5448, allocations: 67.34 kB / 0.9986 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.5451, allocations: 121 kB / 0.9987 GB, free: 11.83 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5451, allocations: 0 / 0.9987 GB, free: 11.83 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004268/0.5456, allocations: 171.2 kB / 0.9989 GB, free: 11.65 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.5456, allocations: 33.7 kB / 0.9989 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5456, allocations: 4.094 kB / 0.9989 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5456, allocations: 0 / 0.9989 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5458, allocations: 19.98 kB / 0.9989 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5458, allocations: 0 / 0.9989 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.5459, allocations: 15.98 kB / 0.999 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.5459, allocations: 8.188 kB / 0.999 GB, free: 11.56 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,movingAverage.uInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.307e-05/0.546, allocations: 129.1 kB / 0.9991 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.5461, allocations: 7.906 kB / 0.9991 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.5461, allocations: 16.72 kB / 0.9991 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5461, allocations: 0 / 0.9991 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5461, allocations: 4 kB / 0.9991 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.5462, allocations: 89.02 kB / 0.9992 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5462, allocations: 7.922 kB / 0.9992 GB, free: 11.28 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5463, allocations: 7.984 kB / 0.9992 GB, free: 11.27 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.5464, allocations: 15.98 kB / 0.9992 GB, free: 11.26 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004423/0.5468, allocations: 188.8 kB / 0.9994 GB, free: 11.07 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000491/0.5473, allocations: 311.7 kB / 0.9997 GB, free: 10.75 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001321/0.5475, allocations: 36 kB / 0.9997 GB, free: 10.71 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.5476, allocations: 109.6 kB / 0.9999 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of Backend: time 2.454e-06/0.5476, allocations: 4.062 kB / 0.9999 GB, free: 10.6 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.5482, allocations: 185.7 kB / 1 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0007931/0.549, allocations: 0.6287 MB / 1.001 GB, free: 9.73 MB / 0.6857 GB Notification: Performance of Templates: time 0.004511/0.5535, allocations: 1.311 MB / 1.002 GB, free: 8.43 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.MovingAverage.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.MovingAverage.sim & ./AixLib_AixLib.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe 2>&1)