Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial") translateModel(AixLib.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001726/0.001726, allocations: 110.8 kB / 16.42 MB, free: 6.441 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.001803/0.001803, 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.08 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.05805/0.05805, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004844/0.0004845, allocations: 27.89 kB / 356.3 MB, free: 13.96 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.94/1.94, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 111.8 kB / 0.8935 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5236, allocations: 109.1 MB / 1 GB, free: 8.16 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.FallingFactorial): time 0.002768/0.5264, allocations: 1.534 MB / 1.002 GB, free: 6.965 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0003538/0.5268, allocations: 137.1 kB / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.5268, allocations: 1.5 kB / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.5269, allocations: 3.938 kB / 1.002 GB, free: 6.852 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.5269, allocations: 9.109 kB / 1.002 GB, free: 6.844 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.5272, allocations: 32.69 kB / 1.002 GB, free: 6.82 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.5273, allocations: 33.64 kB / 1.002 GB, free: 6.801 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.5274, allocations: 14.45 kB / 1.002 GB, free: 6.793 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.5275, allocations: 25.94 kB / 1.002 GB, free: 6.773 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.5275, allocations: 16.42 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.5275, allocations: 3.344 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.5276, allocations: 18.83 kB / 1.002 GB, free: 6.754 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.5277, allocations: 5.094 kB / 1.002 GB, free: 6.75 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.5277, allocations: 24.08 kB / 1.002 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.5278, allocations: 50.55 kB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5278, allocations: 1.375 kB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5278, allocations: 0 / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.5279, allocations: 0 / 1.002 GB, free: 6.695 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.0004439/0.5283, allocations: 349.2 kB / 1.002 GB, free: 6.32 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5283, allocations: 9.312 kB / 1.002 GB, free: 6.32 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.5284, allocations: 6.062 kB / 1.002 GB, free: 6.316 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.5285, allocations: 169.7 kB / 1.002 GB, free: 6.117 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5285, allocations: 5.5 kB / 1.002 GB, free: 6.113 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.5285, allocations: 2.688 kB / 1.002 GB, free: 6.113 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.5287, allocations: 67.81 kB / 1.003 GB, free: 6.059 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5287, allocations: 192 / 1.003 GB, free: 6.059 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.5288, allocations: 5.125 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5288, allocations: 0 / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.529, allocations: 52.19 kB / 1.003 GB, free: 6.027 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.5293, allocations: 279.2 kB / 1.003 GB, free: 5.723 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.5296, allocations: 58.06 kB / 1.003 GB, free: 5.68 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.5297, allocations: 25.22 kB / 1.003 GB, free: 5.664 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.5299, allocations: 408.3 kB / 1.003 GB, free: 5.18 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.5299, allocations: 35.72 kB / 1.003 GB, free: 5.137 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5299, allocations: 0 / 1.003 GB, free: 5.137 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0003583/0.5303, allocations: 94.62 kB / 1.003 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.5303, allocations: 51.41 kB / 1.004 GB, free: 5.012 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.5304, allocations: 108.2 kB / 1.004 GB, free: 4.906 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.5304, allocations: 25.7 kB / 1.004 GB, free: 4.875 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.5304, allocations: 90.61 kB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.5304, allocations: 5.031 kB / 1.004 GB, free: 4.781 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.5305, allocations: 17.16 kB / 1.004 GB, free: 4.762 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.5305, allocations: 316 kB / 1.004 GB, free: 4.445 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.5306, allocations: 19.2 kB / 1.004 GB, free: 4.438 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.5307, allocations: 26.5 kB / 1.004 GB, free: 4.422 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.5309, allocations: 50.08 kB / 1.004 GB, free: 4.391 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5309, allocations: 1.156 kB / 1.004 GB, free: 4.391 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001862/0.5311, allocations: 76.86 kB / 1.004 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5311, allocations: 4.531 kB / 1.004 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5311, allocations: 0 / 1.004 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5311, allocations: 5.188 kB / 1.004 GB, free: 4.332 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.5312, allocations: 15.77 kB / 1.004 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5312, allocations: 0 / 1.004 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.5313, allocations: 16.28 kB / 1.004 GB, free: 4.312 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5313, allocations: 5.047 kB / 1.004 GB, free: 4.309 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 4.854e-05/0.5313, allocations: 116.5 kB / 1.004 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.5314, allocations: 2.094 kB / 1.004 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.5316, allocations: 83.61 kB / 1.004 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5316, allocations: 3.938 kB / 1.004 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5316, allocations: 5.031 kB / 1.004 GB, free: 4.109 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.5316, allocations: 82.08 kB / 1.005 GB, free: 4.012 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.5317, allocations: 1.125 kB / 1.005 GB, free: 4.012 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.5317, allocations: 7.266 kB / 1.005 GB, free: 4.008 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.5318, allocations: 15.17 kB / 1.005 GB, free: 3.996 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002351/0.532, allocations: 157.5 kB / 1.005 GB, free: 3.863 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002162/0.5323, allocations: 244.5 kB / 1.005 GB, free: 3.637 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.203e-05/0.5324, allocations: 28.59 kB / 1.005 GB, free: 3.621 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.5324, allocations: 89.95 kB / 1.005 GB, free: 3.539 MB / 0.6857 GB Notification: Performance of Backend: time 1.7e-07/0.5324, allocations: 0 / 1.005 GB, free: 3.539 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.5328, allocations: 111.9 kB / 1.005 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003241/0.5332, allocations: 0.5715 MB / 1.006 GB, free: 2.855 MB / 0.6857 GB Notification: Performance of Templates: time 0.00309/0.5363, allocations: 0.868 MB / 1.007 GB, free: 2.414 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)