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.00151/0.00151, allocations: 116.2 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.001732/0.001732, allocations: 183.9 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.42/1.42, 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.06097/0.06097, 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.0005101/0.0005102, allocations: 27.94 kB / 356.3 MB, free: 13.97 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.939/1.939, allocations: 272.3 MB / 0.6657 GB, free: 18.43 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 112.3 kB / 0.8936 GB, free: 15.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5665, allocations: 109.1 MB / 1 GB, free: 8.223 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Factorial): time 0.001445/0.568, allocations: 0.5835 MB / 1.001 GB, free: 7.789 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.5682, allocations: 47.05 kB / 1.001 GB, free: 7.754 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.5682, allocations: 0 / 1.001 GB, free: 7.754 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.5683, allocations: 4 kB / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.5683, allocations: 1.188 kB / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.5685, allocations: 19.61 kB / 1.001 GB, free: 7.734 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.5686, allocations: 6.672 kB / 1.001 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.5687, allocations: 1.344 kB / 1.001 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.5687, allocations: 1.031 kB / 1.001 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.724e-05/0.5687, allocations: 1.156 kB / 1.001 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.5687, allocations: 0 / 1.001 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.5688, allocations: 8.562 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.5688, allocations: 3.984 kB / 1.001 GB, free: 7.723 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.5689, allocations: 5.141 kB / 1.001 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.569, allocations: 20.59 kB / 1.001 GB, free: 7.703 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.569, allocations: 0 / 1.001 GB, free: 7.703 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.114e-06/0.569, allocations: 0 / 1.001 GB, free: 7.703 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.569, allocations: 0 / 1.001 GB, free: 7.703 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.0003196/0.5693, allocations: 312.1 kB / 1.001 GB, free: 7.352 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5694, allocations: 9.344 kB / 1.001 GB, free: 7.352 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.5695, allocations: 4.938 kB / 1.001 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.861e-05/0.5695, allocations: 161.7 kB / 1.001 GB, free: 7.152 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5696, allocations: 384 / 1.001 GB, free: 7.152 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.5696, allocations: 5.5 kB / 1.001 GB, free: 7.148 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.5697, allocations: 37.69 kB / 1.001 GB, free: 7.109 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5697, allocations: 192 / 1.001 GB, free: 7.109 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5697, allocations: 3.938 kB / 1.001 GB, free: 7.105 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5697, allocations: 1.25 kB / 1.001 GB, free: 7.105 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.5698, allocations: 3.312 kB / 1.001 GB, free: 7.105 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.5699, allocations: 151 kB / 1.002 GB, free: 6.91 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.5699, allocations: 24.17 kB / 1.002 GB, free: 6.883 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.57, allocations: 10.95 kB / 1.002 GB, free: 6.871 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5701, allocations: 84.56 kB / 1.002 GB, free: 6.773 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5702, allocations: 35.88 kB / 1.002 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5702, allocations: 0 / 1.002 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.5703, allocations: 41.61 kB / 1.002 GB, free: 6.691 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.5704, allocations: 52.75 kB / 1.002 GB, free: 6.629 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.831e-05/0.5704, allocations: 89.98 kB / 1.002 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5704, allocations: 29.7 kB / 1.002 GB, free: 6.496 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.324e-05/0.5705, allocations: 85.28 kB / 1.002 GB, free: 6.41 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.5705, allocations: 11.64 kB / 1.002 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.5705, allocations: 17.16 kB / 1.002 GB, free: 6.383 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.5706, allocations: 310.8 kB / 1.002 GB, free: 6.07 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.5706, allocations: 2.312 kB / 1.002 GB, free: 6.07 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.5706, allocations: 2.375 kB / 1.002 GB, free: 6.07 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.5706, allocations: 25.77 kB / 1.002 GB, free: 6.047 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5706, allocations: 0 / 1.002 GB, free: 6.047 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.852e-05/0.5707, allocations: 37.78 kB / 1.002 GB, free: 6.012 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5707, allocations: 7.094 kB / 1.002 GB, free: 6.012 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5707, allocations: 0 / 1.002 GB, free: 6.012 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5708, allocations: 5.094 kB / 1.002 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.5708, allocations: 6.25 kB / 1.002 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5708, allocations: 1.375 kB / 1.002 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.5709, allocations: 0 / 1.002 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5709, allocations: 5.047 kB / 1.002 GB, free: 6 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 5.532e-05/0.5709, allocations: 115.5 kB / 1.002 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-06/0.5709, allocations: 1.094 kB / 1.002 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.012e-05/0.571, allocations: 48.53 kB / 1.003 GB, free: 5.832 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5711, allocations: 3.938 kB / 1.003 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5711, allocations: 0 / 1.003 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.5711, allocations: 78.17 kB / 1.003 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.5711, allocations: 1.188 kB / 1.003 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.5711, allocations: 0 / 1.003 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5712, allocations: 5.031 kB / 1.003 GB, free: 5.73 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.607e-05/0.5712, allocations: 121.3 kB / 1.003 GB, free: 5.613 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.805e-05/0.5713, allocations: 212 kB / 1.003 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.289e-05/0.5713, allocations: 2.312 kB / 1.003 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.435e-05/0.5714, allocations: 75.28 kB / 1.003 GB, free: 5.324 MB / 0.6857 GB Notification: Performance of Backend: time 2.11e-07/0.5714, allocations: 5.312 kB / 1.003 GB, free: 5.32 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.5718, allocations: 86.58 kB / 1.003 GB, free: 5.25 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002645/0.5721, allocations: 0.5308 MB / 1.004 GB, free: 4.68 MB / 0.6857 GB Notification: Performance of Templates: time 0.002393/0.5745, allocations: 364.7 kB / 1.004 GB, free: 4.488 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)