Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Utilities.Math.Examples.MovingAverage") translateModel(AixLib.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001369/0.001369, allocations: 110.9 kB / 16.42 MB, free: 6.523 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.001802/0.001802, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 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.05952/0.05952, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005392/0.0005392, allocations: 27.94 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.944/1.944, allocations: 272.3 MB / 0.6657 GB, free: 18.41 MB / 478.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "CVode" Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 119.8 kB / 0.8936 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6133, allocations: 109.1 MB / 1 GB, free: 8.09 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.MovingAverage): time 0.002718/0.6161, allocations: 1.602 MB / 1.002 GB, free: 6.836 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.6169, allocations: 497.5 kB / 1.002 GB, free: 6.449 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.6171, allocations: 5.156 kB / 1.002 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.6172, allocations: 9.203 kB / 1.002 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.6173, allocations: 12.97 kB / 1.002 GB, free: 6.426 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.6176, allocations: 54.03 kB / 1.002 GB, free: 6.383 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.6178, allocations: 85.77 kB / 1.002 GB, free: 6.332 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.6179, allocations: 24.05 kB / 1.002 GB, free: 6.316 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.618, allocations: 35.08 kB / 1.002 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.6181, allocations: 32.97 kB / 1.002 GB, free: 6.27 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.6181, allocations: 6.906 kB / 1.002 GB, free: 6.27 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.6181, allocations: 7.062 kB / 1.002 GB, free: 6.27 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.6182, allocations: 22.23 kB / 1.002 GB, free: 6.25 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.6182, allocations: 38.81 kB / 1.002 GB, free: 6.219 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.6184, allocations: 72.61 kB / 1.003 GB, free: 6.168 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6184, allocations: 1 kB / 1.003 GB, free: 6.168 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6184, allocations: 0 / 1.003 GB, free: 6.168 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6184, allocations: 0 / 1.003 GB, free: 6.168 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.0006216/0.619, allocations: 423.5 kB / 1.003 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6191, allocations: 9.125 kB / 1.003 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.6191, allocations: 12.3 kB / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.6194, allocations: 204.5 kB / 1.003 GB, free: 5.5 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6194, allocations: 6.812 kB / 1.003 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.6195, allocations: 12.23 kB / 1.003 GB, free: 5.488 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.6197, allocations: 101.5 kB / 1.003 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6197, allocations: 0 / 1.003 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6198, allocations: 5.062 kB / 1.003 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6198, allocations: 1.062 kB / 1.003 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.62, allocations: 62.59 kB / 1.003 GB, free: 5.367 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.6205, allocations: 482 kB / 1.004 GB, free: 4.871 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.6208, allocations: 77.91 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.6209, allocations: 31.92 kB / 1.004 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.621, allocations: 1.438 kB / 1.004 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.6212, allocations: 94.39 kB / 1.004 GB, free: 4.719 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.6212, allocations: 3.938 kB / 1.004 GB, free: 4.715 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.0004427/0.6217, allocations: 129.6 kB / 1.004 GB, free: 4.637 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.6217, allocations: 52.5 kB / 1.004 GB, free: 4.574 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6218, allocations: 138.3 kB / 1.004 GB, free: 4.449 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6218, allocations: 30.77 kB / 1.004 GB, free: 4.414 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.6219, allocations: 108.5 kB / 1.004 GB, free: 4.309 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.6219, allocations: 22.16 kB / 1.004 GB, free: 4.289 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.622, allocations: 26.3 kB / 1.005 GB, free: 4.266 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.622, allocations: 321.7 kB / 1.005 GB, free: 3.945 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.6222, allocations: 35.62 kB / 1.005 GB, free: 3.93 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.6223, allocations: 70.2 kB / 1.005 GB, free: 3.871 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.6226, allocations: 118.7 kB / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6226, allocations: 0 / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003802/0.623, allocations: 170.1 kB / 1.005 GB, free: 3.656 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.623, allocations: 36.81 kB / 1.005 GB, free: 3.621 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6231, allocations: 1.125 kB / 1.005 GB, free: 3.621 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6231, allocations: 1 kB / 1.005 GB, free: 3.621 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.6232, allocations: 17.98 kB / 1.005 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6232, allocations: 2.094 kB / 1.005 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.6233, allocations: 19.67 kB / 1.005 GB, free: 3.605 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.6233, allocations: 8.25 kB / 1.005 GB, free: 3.602 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 6.813e-05/0.6234, allocations: 123.4 kB / 1.005 GB, free: 3.477 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.6234, allocations: 7.891 kB / 1.005 GB, free: 3.473 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.6235, allocations: 13.83 kB / 1.005 GB, free: 3.453 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6235, allocations: 1.062 kB / 1.005 GB, free: 3.453 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6235, allocations: 0 / 1.005 GB, free: 3.453 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.6235, allocations: 83.12 kB / 1.005 GB, free: 3.355 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.6236, allocations: 10.09 kB / 1.006 GB, free: 3.348 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.6237, allocations: 9.016 kB / 1.006 GB, free: 3.344 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.6237, allocations: 17.95 kB / 1.006 GB, free: 3.332 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004002/0.6241, allocations: 181.4 kB / 1.006 GB, free: 3.195 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004262/0.6246, allocations: 324.8 kB / 1.006 GB, free: 2.922 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001249/0.6247, allocations: 34.97 kB / 1.006 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.6248, allocations: 107.1 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of Backend: time 4.3e-07/0.6248, allocations: 0 / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.6253, allocations: 190.2 kB / 1.006 GB, free: 2.66 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004923/0.6258, allocations: 0.6526 MB / 1.007 GB, free: 2.016 MB / 0.6857 GB Notification: Performance of Templates: time 0.004011/0.6298, allocations: 1.294 MB / 1.008 GB, free: 1.371 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.MovingAverage.pipe 2>&1)