Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.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/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/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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial") translateModel(AixLib.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.001249, allocations: 114.7 kB / 16.43 MB, free: 6.488 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.001175/0.001174, allocations: 186.1 kB / 17.35 MB, free: 5.703 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05687/0.05687, allocations: 12.03 MB / 303.2 MB, free: 3.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005061/0.0005059, allocations: 31.94 kB / 356.3 MB, free: 13.93 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.587/1.587, allocations: 268.2 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.161e-05, allocations: 2.281 kB / 0.8879 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Factorial): time 0.001513/0.001543, allocations: 0.6007 MB / 0.8885 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.001826, allocations: 48.02 kB / 0.8886 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.001853, allocations: 0 / 0.8886 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.001874, allocations: 0 / 0.8886 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-06/0.001883, allocations: 0 / 0.8886 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.00211, allocations: 11.94 kB / 0.8886 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.002173, allocations: 7.984 kB / 0.8886 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.00223, allocations: 0 / 0.8886 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.002251, allocations: 7.938 kB / 0.8886 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.002285, allocations: 7.984 kB / 0.8886 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.002303, allocations: 4 kB / 0.8886 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.002378, allocations: 7.984 kB / 0.8886 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of combineBinaries: time 3.044e-05/0.002414, allocations: 15.84 kB / 0.8886 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 4.379e-06/0.002423, allocations: 3.906 kB / 0.8886 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.002442, allocations: 0 / 0.8886 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.09e-05/0.002457, allocations: 0 / 0.8886 GB, free: 2.105 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002736/0.002734, allocations: 163.2 kB / 0.8888 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 6.591e-05/0.002806, allocations: 15.91 kB / 0.8888 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of Early Inline: time 7.123e-05/0.002883, allocations: 52.36 kB / 0.8888 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simplify1: time 3.638e-05/0.002925, allocations: 40.42 kB / 0.8889 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of Alias: time 0.0002521/0.003182, allocations: 84.62 kB / 0.889 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simplify2: time 2.895e-05/0.003219, allocations: 32.44 kB / 0.889 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of Detect States: time 5.855e-05/0.003283, allocations: 32.42 kB / 0.889 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of Events: time 1.326e-05/0.003302, allocations: 3.938 kB / 0.889 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of Partitioning: time 3.906e-05/0.003346, allocations: 20.12 kB / 0.889 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of Causalize: time 9.699e-05/0.003448, allocations: 56.08 kB / 0.8891 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 4.592e-05/0.003501, allocations: 44.42 kB / 0.8891 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of Inline: time 7.906e-05/0.003587, allocations: 80.42 kB / 0.8892 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of Partitioning: time 9.939e-06/0.003604, allocations: 8.406 kB / 0.8892 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of Cleanup: time 1.177e-05/0.003622, allocations: 7.938 kB / 0.8892 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of Causalize: time 0.0001073/0.003733, allocations: 60.06 kB / 0.8893 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of Tearing: time 9.768e-06/0.003754, allocations: 4 kB / 0.8893 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of Initialization: time 1.794e-06/0.003761, allocations: 4 kB / 0.8893 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of Tearing: time 1.042e-06/0.003765, allocations: 0 / 0.8893 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of Categorize: time 8.816e-06/0.003778, allocations: 3.938 kB / 0.8893 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of Solve: time 3.022e-05/0.003813, allocations: 7.984 kB / 0.8893 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of Jacobian: time 6.242e-06/0.003824, allocations: 3.984 kB / 0.8893 GB, free: 1.062 MB / 0.6075 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {fac, n} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.307e-05/0.003861, allocations: 13.61 kB / 0.8893 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of SimCode: time 0.0005875/0.004455, allocations: 0.7652 MB / 0.8901 GB, free: 284 kB / 0.6075 GB Notification: Performance of Templates: time 0.4244/0.4289, allocations: 301.9 kB / 0.8904 GB, free: 14.4 MB / 0.6075 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)