Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(AixLib.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 118.2 kB / 16.42 MB, free: 6.012 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.002019/0.002019, allocations: 183 kB / 17.35 MB, free: 5.629 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.333/1.333, allocations: 222.9 MB / 241 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.05684/0.05684, allocations: 12.04 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004697/0.0004697, allocations: 35.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.531/1.531, allocations: 268.2 MB / 0.6617 GB, free: 2.625 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 119.8 kB / 0.8881 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5182, allocations: 108.3 MB / 0.9939 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0014/0.5196, allocations: 0.579 MB / 0.9944 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.5199, allocations: 57.48 kB / 0.9945 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.5199, allocations: 0 / 0.9945 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.5199, allocations: 0 / 0.9945 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.5199, allocations: 5.094 kB / 0.9945 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.5202, allocations: 13.56 kB / 0.9945 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.5203, allocations: 36.47 kB / 0.9945 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.5203, allocations: 4.844 kB / 0.9946 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.5203, allocations: 18.58 kB / 0.9946 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.374e-05/0.5204, allocations: 9.391 kB / 0.9946 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.5204, allocations: 0.9062 kB / 0.9946 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.5204, allocations: 16.48 kB / 0.9946 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.5205, allocations: 13.33 kB / 0.9946 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.5205, allocations: 20.34 kB / 0.9946 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 8.532e-05/0.5206, allocations: 36.5 kB / 0.9947 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5206, allocations: 0 / 0.9947 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5206, allocations: 1.125 kB / 0.9947 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5206, allocations: 0 / 0.9947 GB, free: 11.32 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.0002171/0.5208, allocations: 340.7 kB / 0.995 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5209, allocations: 9.125 kB / 0.995 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.5209, allocations: 6.469 kB / 0.995 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.521e-05/0.521, allocations: 160.4 kB / 0.9952 GB, free: 10.75 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.521, allocations: 15.28 kB / 0.9952 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.521, allocations: 3.094 kB / 0.9952 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.5211, allocations: 59.55 kB / 0.9952 GB, free: 10.69 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5211, allocations: 192 / 0.9952 GB, free: 10.69 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.5211, allocations: 5.5 kB / 0.9952 GB, free: 10.69 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5212, allocations: 4 kB / 0.9952 GB, free: 10.68 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.5213, allocations: 106.9 kB / 0.9953 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.5214, allocations: 166.2 kB / 0.9955 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.5215, allocations: 78.92 kB / 0.9956 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.5215, allocations: 31.41 kB / 0.9956 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.5217, allocations: 401.9 kB / 0.996 GB, free: 9.887 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.5218, allocations: 35.5 kB / 0.996 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.5218, allocations: 4 kB / 0.996 GB, free: 9.84 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11): time 0.0002195/0.522, allocations: 124.5 kB / 0.9961 GB, free: 9.766 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.258e-05/0.522, allocations: 52.69 kB / 0.9962 GB, free: 9.703 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.957e-05/0.522, allocations: 96.05 kB / 0.9963 GB, free: 9.602 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.5221, allocations: 29.64 kB / 0.9963 GB, free: 9.566 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-06/0.5221, allocations: 80.14 kB / 0.9964 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.5221, allocations: 23.58 kB / 0.9964 GB, free: 9.469 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.5221, allocations: 31.73 kB / 0.9964 GB, free: 9.441 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.5222, allocations: 321.4 kB / 0.9968 GB, free: 9.121 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.5222, allocations: 19.17 kB / 0.9968 GB, free: 9.113 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.5222, allocations: 21.02 kB / 0.9968 GB, free: 9.105 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.5223, allocations: 55.69 kB / 0.9968 GB, free: 9.078 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5223, allocations: 1.156 kB / 0.9968 GB, free: 9.078 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001175/0.5225, allocations: 99.62 kB / 0.9969 GB, free: 9.012 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.5225, allocations: 6.469 kB / 0.9969 GB, free: 9.012 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5225, allocations: 0 / 0.9969 GB, free: 9.012 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5225, allocations: 3.938 kB / 0.9969 GB, free: 9.008 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.5226, allocations: 20.31 kB / 0.997 GB, free: 9.004 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5226, allocations: 4 kB / 0.997 GB, free: 9 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.5226, allocations: 12.95 kB / 0.997 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.5227, allocations: 3.406 kB / 0.997 GB, free: 8.988 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.206e-05/0.5227, allocations: 121.5 kB / 0.9971 GB, free: 8.867 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.5227, allocations: 6.109 kB / 0.9971 GB, free: 8.863 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.5229, allocations: 129.9 kB / 0.9972 GB, free: 8.773 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5229, allocations: 3.938 kB / 0.9972 GB, free: 8.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.523, allocations: 4.875 kB / 0.9972 GB, free: 8.766 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.523, allocations: 83.2 kB / 0.9973 GB, free: 8.668 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.523, allocations: 0.9688 kB / 0.9973 GB, free: 8.668 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.523, allocations: 4 kB / 0.9973 GB, free: 8.664 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.523, allocations: 12.58 kB / 0.9973 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001298/0.5232, allocations: 173.9 kB / 0.9975 GB, free: 8.52 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000136/0.5233, allocations: 269.7 kB / 0.9978 GB, free: 8.277 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.697e-05/0.5234, allocations: 33.02 kB / 0.9978 GB, free: 8.262 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.019e-05/0.5234, allocations: 75.28 kB / 0.9979 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of Backend: time 1.8e-07/0.5234, allocations: 0 / 0.9979 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.5238, allocations: 129.9 kB / 0.998 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002236/0.524, allocations: 0.5651 MB / 0.9985 GB, free: 7.516 MB / 0.6857 GB Notification: Performance of Templates: time 0.002594/0.5266, allocations: 0.8292 MB / 0.9993 GB, free: 7.098 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)