Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.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-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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Factorial") translateModel(AixLib.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 110.6 kB / 16.42 MB, free: 6.465 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.001783/0.001783, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.17 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.05774/0.05774, allocations: 12.05 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005245/0.0005244, allocations: 31.88 kB / 356.3 MB, free: 13.99 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.533/1.533, allocations: 268.2 MB / 0.6617 GB, free: 2.645 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 116.1 kB / 0.888 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5538, allocations: 108.4 MB / 0.9938 GB, free: 1.129 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Factorial): time 0.002957/0.5568, allocations: 1.523 MB / 0.9953 GB, free: 15.6 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.5572, allocations: 124.5 kB / 0.9954 GB, free: 15.48 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.5573, allocations: 0 / 0.9954 GB, free: 15.48 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.5573, allocations: 3.984 kB / 0.9954 GB, free: 15.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.5574, allocations: 3.938 kB / 0.9954 GB, free: 15.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.5577, allocations: 23.91 kB / 0.9955 GB, free: 15.45 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.5578, allocations: 27.98 kB / 0.9955 GB, free: 15.42 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.5579, allocations: 19.97 kB / 0.9955 GB, free: 15.4 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.5579, allocations: 11.94 kB / 0.9955 GB, free: 15.39 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.558, allocations: 19.97 kB / 0.9955 GB, free: 15.37 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.558, allocations: 0 / 0.9955 GB, free: 15.37 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.5581, allocations: 15.98 kB / 0.9956 GB, free: 15.35 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.5581, allocations: 11.88 kB / 0.9956 GB, free: 15.34 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.5582, allocations: 11.94 kB / 0.9956 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.5583, allocations: 35.88 kB / 0.9956 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5583, allocations: 0 / 0.9956 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5583, allocations: 0 / 0.9956 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5583, allocations: 4 kB / 0.9956 GB, free: 15.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004929/0.5588, allocations: 343.3 kB / 0.9959 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5589, allocations: 12.03 kB / 0.996 GB, free: 14.89 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.5589, allocations: 0.9375 kB / 0.996 GB, free: 14.89 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.559, allocations: 168.3 kB / 0.9961 GB, free: 14.69 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.5591, allocations: 4.375 kB / 0.9961 GB, free: 14.69 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.5591, allocations: 4.375 kB / 0.9961 GB, free: 14.68 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.5593, allocations: 58.23 kB / 0.9962 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.5593, allocations: 192 / 0.9962 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.5594, allocations: 3.938 kB / 0.9962 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5594, allocations: 0 / 0.9962 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.5596, allocations: 47.89 kB / 0.9962 GB, free: 14.57 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.56, allocations: 259.9 kB / 0.9965 GB, free: 14.27 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.5603, allocations: 66.47 kB / 0.9965 GB, free: 14.2 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.5604, allocations: 28.84 kB / 0.9966 GB, free: 14.16 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.5606, allocations: 81.05 kB / 0.9967 GB, free: 14.07 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.5606, allocations: 38.55 kB / 0.9967 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.5606, allocations: 0 / 0.9967 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0003892/0.561, allocations: 93.64 kB / 0.9968 GB, free: 13.92 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5611, allocations: 51.41 kB / 0.9968 GB, free: 13.86 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.5611, allocations: 101.8 kB / 0.9969 GB, free: 13.75 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5612, allocations: 25.7 kB / 0.9969 GB, free: 13.72 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.5612, allocations: 91.98 kB / 0.997 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.5612, allocations: 0 / 0.997 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.5613, allocations: 21.7 kB / 0.9971 GB, free: 13.6 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.5614, allocations: 314.8 kB / 0.9974 GB, free: 13.28 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.5615, allocations: 19.98 kB / 0.9974 GB, free: 13.26 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.5616, allocations: 27.91 kB / 0.9974 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.5618, allocations: 40.81 kB / 0.9974 GB, free: 13.19 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5618, allocations: 0 / 0.9974 GB, free: 13.19 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002261/0.562, allocations: 85.97 kB / 0.9975 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.562, allocations: 4 kB / 0.9975 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.562, allocations: 0 / 0.9975 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.562, allocations: 0 / 0.9975 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.5621, allocations: 11.98 kB / 0.9975 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.5622, allocations: 0 / 0.9975 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.5622, allocations: 11.98 kB / 0.9975 GB, free: 13.07 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5622, allocations: 0 / 0.9975 GB, free: 13.07 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.112e-05/0.5623, allocations: 129.8 kB / 0.9977 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.5623, allocations: 0 / 0.9977 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.5626, allocations: 81.14 kB / 0.9978 GB, free: 12.85 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5626, allocations: 0 / 0.9978 GB, free: 12.85 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5626, allocations: 0 / 0.9978 GB, free: 12.85 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.5627, allocations: 77.11 kB / 0.9978 GB, free: 12.75 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.5627, allocations: 0 / 0.9978 GB, free: 12.75 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.5628, allocations: 7.984 kB / 0.9978 GB, free: 12.75 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.5628, allocations: 19.92 kB / 0.9979 GB, free: 12.73 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002921/0.5631, allocations: 156.9 kB / 0.998 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002827/0.5634, allocations: 242.7 kB / 0.9982 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000102/0.5635, allocations: 27.97 kB / 0.9983 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.5636, allocations: 87.27 kB / 0.9983 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of Backend: time 2.81e-07/0.5636, allocations: 0 / 0.9983 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.5641, allocations: 106.3 kB / 0.9984 GB, free: 12.09 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004982/0.5646, allocations: 0.5648 MB / 0.999 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of Templates: time 0.003209/0.5678, allocations: 0.8 MB / 0.9998 GB, free: 10.67 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Factorial.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Factorial.sim & ./AixLib_AixLib.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe 2>&1)