Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.FallingFactorial") translateModel(AixLib.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001209, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.001117/0.001117, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.363/1.363, 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.05848/0.05848, allocations: 12.04 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004832/0.0004834, allocations: 23.97 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.542/1.542, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 115.8 kB / 0.888 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5396, allocations: 108.4 MB / 0.9938 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.FallingFactorial): time 0.002675/0.5423, allocations: 1.539 MB / 0.9953 GB, free: 15.58 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.000384/0.5427, allocations: 144.4 kB / 0.9955 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.5428, allocations: 0 / 0.9955 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.5428, allocations: 3.938 kB / 0.9955 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.5429, allocations: 3.938 kB / 0.9955 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.5432, allocations: 31.89 kB / 0.9955 GB, free: 15.39 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.5433, allocations: 35.92 kB / 0.9955 GB, free: 15.36 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.5434, allocations: 16 kB / 0.9956 GB, free: 15.34 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.5434, allocations: 19.92 kB / 0.9956 GB, free: 15.32 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.5435, allocations: 23.91 kB / 0.9956 GB, free: 15.3 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.5435, allocations: 4 kB / 0.9956 GB, free: 15.3 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.5436, allocations: 19.98 kB / 0.9956 GB, free: 15.28 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.5436, allocations: 3.984 kB / 0.9956 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.5436, allocations: 19.88 kB / 0.9956 GB, free: 15.25 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.5437, allocations: 47.66 kB / 0.9957 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5438, allocations: 0 / 0.9957 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5438, allocations: 0 / 0.9957 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5438, allocations: 4 kB / 0.9957 GB, free: 15.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004659/0.5443, allocations: 347.5 kB / 0.996 GB, free: 14.82 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5443, allocations: 12.03 kB / 0.996 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.5443, allocations: 4.844 kB / 0.996 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.5445, allocations: 171.3 kB / 0.9962 GB, free: 14.6 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.5445, allocations: 384 / 0.9962 GB, free: 14.6 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.5445, allocations: 4.375 kB / 0.9962 GB, free: 14.59 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.5447, allocations: 66.17 kB / 0.9963 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5447, allocations: 192 / 0.9963 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5448, allocations: 7.938 kB / 0.9963 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5448, allocations: 3.938 kB / 0.9963 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.545, allocations: 39.95 kB / 0.9963 GB, free: 14.47 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.5454, allocations: 284.7 kB / 0.9966 GB, free: 14.14 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.5457, allocations: 66.47 kB / 0.9967 GB, free: 14.07 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.5458, allocations: 24.91 kB / 0.9967 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.5461, allocations: 401.5 kB / 0.9971 GB, free: 13.56 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5461, allocations: 30.56 kB / 0.9971 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5461, allocations: 0 / 0.9971 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0004037/0.5466, allocations: 97.56 kB / 0.9972 GB, free: 13.42 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.5466, allocations: 51.41 kB / 0.9972 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.5467, allocations: 117.8 kB / 0.9973 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5467, allocations: 29.64 kB / 0.9974 GB, free: 13.2 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.5468, allocations: 84.14 kB / 0.9975 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5468, allocations: 11.89 kB / 0.9975 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.5468, allocations: 9.719 kB / 0.9975 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.5469, allocations: 322.8 kB / 0.9978 GB, free: 12.76 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.547, allocations: 19.97 kB / 0.9978 GB, free: 12.74 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.5471, allocations: 15.98 kB / 0.9978 GB, free: 12.72 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5473, allocations: 52.75 kB / 0.9979 GB, free: 12.67 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5473, allocations: 0 / 0.9979 GB, free: 12.67 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002235/0.5475, allocations: 85.5 kB / 0.9979 GB, free: 12.58 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5476, allocations: 4 kB / 0.9979 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5476, allocations: 0 / 0.9979 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5476, allocations: 0 / 0.9979 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.5477, allocations: 11.98 kB / 0.998 GB, free: 12.56 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5477, allocations: 0 / 0.998 GB, free: 12.56 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.5478, allocations: 11.92 kB / 0.998 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.5478, allocations: 0 / 0.998 GB, free: 12.55 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 (falFac.y,rea2Int.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.094e-05/0.5479, allocations: 122.1 kB / 0.9981 GB, free: 12.42 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.5479, allocations: 4 kB / 0.9981 GB, free: 12.42 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.5482, allocations: 85.47 kB / 0.9982 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5482, allocations: 0 / 0.9982 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5482, allocations: 0 / 0.9982 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.5482, allocations: 89 kB / 0.9983 GB, free: 12.21 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.5483, allocations: 3.938 kB / 0.9983 GB, free: 12.21 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.5484, allocations: 12 kB / 0.9983 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.5484, allocations: 7.922 kB / 0.9983 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002897/0.5487, allocations: 156.9 kB / 0.9984 GB, free: 12.03 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002824/0.549, allocations: 250.7 kB / 0.9987 GB, free: 11.77 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001021/0.5491, allocations: 31.97 kB / 0.9987 GB, free: 11.74 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.5492, allocations: 83.28 kB / 0.9988 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of Backend: time 4.11e-07/0.5492, allocations: 0 / 0.9988 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.5496, allocations: 106.4 kB / 0.9989 GB, free: 11.55 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004591/0.5501, allocations: 0.561 MB / 0.9994 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of Templates: time 0.003131/0.5532, allocations: 0.8678 MB / 1 GB, free: 10.08 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.sim & ./AixLib_AixLib.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)