Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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-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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial") translateModel(AixLib.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001082/0.001082, allocations: 111.5 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.00108/0.00108, allocations: 187.9 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05926/0.05926, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005512/0.0005512, allocations: 43.88 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.965/1.965, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 115.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5424, allocations: 109.1 MB / 1 GB, free: 8.211 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Factorial): time 0.001745/0.5441, allocations: 0.5717 MB / 1.001 GB, free: 7.789 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0003766/0.5445, allocations: 47.45 kB / 1.001 GB, free: 7.754 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.5446, allocations: 5.312 kB / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.5446, allocations: 0 / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 8.766e-06/0.5447, allocations: 0 / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.545, allocations: 19.47 kB / 1.001 GB, free: 7.734 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.5451, allocations: 10.16 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/0.5452, allocations: 1.469 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.5452, allocations: 0.9062 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.5452, allocations: 1.188 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.5452, allocations: 0.9375 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.5453, allocations: 12.52 kB / 1.001 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.5454, allocations: 0 / 1.001 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.5454, allocations: 5 kB / 1.001 GB, free: 7.715 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.5455, allocations: 20.33 kB / 1.001 GB, free: 7.699 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5455, allocations: 0 / 1.001 GB, free: 7.699 MB / 0.6857 GB Notification: Performance of FrontEnd: time 3.005e-06/0.5456, allocations: 0 / 1.001 GB, free: 7.699 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.5456, allocations: 1.469 kB / 1.001 GB, free: 7.699 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003377/0.5459, allocations: 312.4 kB / 1.001 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.546, allocations: 7.75 kB / 1.001 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.546, allocations: 2.062 kB / 1.001 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.71e-05/0.5461, allocations: 164.4 kB / 1.001 GB, free: 7.148 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5461, allocations: 9.312 kB / 1.001 GB, free: 7.141 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.5462, allocations: 5.562 kB / 1.001 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.5463, allocations: 33.31 kB / 1.001 GB, free: 7.102 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5463, allocations: 192 / 1.001 GB, free: 7.102 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5463, allocations: 3.938 kB / 1.001 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5463, allocations: 1 kB / 1.001 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.129e-05/0.5464, allocations: 2.812 kB / 1.001 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.5465, allocations: 151.9 kB / 1.002 GB, free: 6.902 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.5466, allocations: 27.55 kB / 1.002 GB, free: 6.871 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.5467, allocations: 10.64 kB / 1.002 GB, free: 6.859 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.5468, allocations: 84.47 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.5468, allocations: 31.72 kB / 1.002 GB, free: 6.723 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.5469, allocations: 0 / 1.002 GB, free: 6.723 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.547, allocations: 42.33 kB / 1.002 GB, free: 6.684 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.547, allocations: 52.56 kB / 1.002 GB, free: 6.621 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.353e-05/0.547, allocations: 97.97 kB / 1.002 GB, free: 6.516 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.5471, allocations: 25.7 kB / 1.002 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.083e-05/0.5471, allocations: 81.23 kB / 1.002 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.5471, allocations: 9.109 kB / 1.002 GB, free: 6.398 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.5471, allocations: 15.41 kB / 1.002 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.5472, allocations: 311.9 kB / 1.002 GB, free: 6.066 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.5472, allocations: 5.562 kB / 1.002 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.5472, allocations: 2.281 kB / 1.002 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.5472, allocations: 21.41 kB / 1.002 GB, free: 6.043 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5473, allocations: 1.094 kB / 1.002 GB, free: 6.043 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.512e-05/0.5473, allocations: 37.77 kB / 1.002 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5473, allocations: 8.469 kB / 1.002 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5473, allocations: 1.125 kB / 1.002 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5474, allocations: 3.938 kB / 1.002 GB, free: 6 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.5474, allocations: 3.531 kB / 1.002 GB, free: 6 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5474, allocations: 3.984 kB / 1.002 GB, free: 5.996 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.5475, allocations: 4.938 kB / 1.002 GB, free: 5.992 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.5475, allocations: 4.031 kB / 1.002 GB, free: 5.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: 2 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.384e-05/0.5475, allocations: 112.2 kB / 1.002 GB, free: 5.871 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.5475, allocations: 4.859 kB / 1.002 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.5476, allocations: 43.62 kB / 1.003 GB, free: 5.824 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5476, allocations: 5 kB / 1.003 GB, free: 5.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5476, allocations: 0 / 1.003 GB, free: 5.82 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.5477, allocations: 78.3 kB / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.5477, allocations: 0 / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.5477, allocations: 5.312 kB / 1.003 GB, free: 5.723 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5477, allocations: 0.8438 kB / 1.003 GB, free: 5.723 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.132e-05/0.5478, allocations: 120.7 kB / 1.003 GB, free: 5.605 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.084e-05/0.5479, allocations: 211.7 kB / 1.003 GB, free: 5.391 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.162e-05/0.5479, allocations: 2.656 kB / 1.003 GB, free: 5.391 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.342e-05/0.5479, allocations: 80.69 kB / 1.003 GB, free: 5.312 MB / 0.6857 GB Notification: Performance of Backend: time 2e-07/0.5479, allocations: 0 / 1.003 GB, free: 5.312 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.5483, allocations: 90.95 kB / 1.003 GB, free: 5.238 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002285/0.5486, allocations: 0.527 MB / 1.004 GB, free: 4.668 MB / 0.6857 GB Notification: Performance of Templates: time 0.002302/0.5509, allocations: 358.5 kB / 1.004 GB, free: 4.48 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)