Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 111.2 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.001122/0.001122, 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.355/1.355, allocations: 222.9 MB / 241 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.0585/0.0585, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000488/0.000488, allocations: 19.97 kB / 356.3 MB, free: 13.97 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.667/1.667, allocations: 268.2 MB / 0.6617 GB, free: 2.633 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 123.8 kB / 0.8881 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.5257, allocations: 108.4 MB / 0.9939 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001799/0.5275, allocations: 0.604 MB / 0.9945 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.5295, allocations: 1.45 MB / 0.9959 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.5295, allocations: 0 / 0.9959 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.5296, allocations: 0 / 0.9959 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.5296, allocations: 0 / 0.9959 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.5302, allocations: 143.4 kB / 0.996 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.5303, allocations: 35.91 kB / 0.9961 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.5303, allocations: 3.984 kB / 0.9961 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.5303, allocations: 11.98 kB / 0.9961 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.5304, allocations: 27.91 kB / 0.9961 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.5305, allocations: 0 / 0.9961 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.5309, allocations: 331.3 kB / 0.9964 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.5309, allocations: 7.984 kB / 0.9964 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.531, allocations: 11.92 kB / 0.9964 GB, free: 14.63 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.5313, allocations: 183.7 kB / 0.9966 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5313, allocations: 0 / 0.9966 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5313, allocations: 0 / 0.9966 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5313, allocations: 0 / 0.9966 GB, free: 14.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005522/0.5319, allocations: 364 kB / 0.997 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5319, allocations: 8.031 kB / 0.997 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004693/0.5324, allocations: 76.78 kB / 0.997 GB, free: 13.97 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5325, allocations: 164.4 kB / 0.9972 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.5326, allocations: 8.359 kB / 0.9972 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.5326, allocations: 384 / 0.9972 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.5329, allocations: 73.95 kB / 0.9973 GB, free: 13.69 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5329, allocations: 0 / 0.9973 GB, free: 13.69 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5329, allocations: 4 kB / 0.9973 GB, free: 13.68 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5329, allocations: 3.938 kB / 0.9973 GB, free: 13.68 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.5332, allocations: 67.86 kB / 0.9974 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.5334, allocations: 169.6 kB / 0.9975 GB, free: 13.4 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.5341, allocations: 118.6 kB / 0.9976 GB, free: 13.27 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.5343, allocations: 48.91 kB / 0.9977 GB, free: 13.22 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.5347, allocations: 149 kB / 0.9978 GB, free: 13.06 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.5348, allocations: 42.5 kB / 0.9979 GB, free: 13.01 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 3.106e-06/0.5348, allocations: 0 / 0.9979 GB, free: 13.01 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5): time 0.001207/0.536, allocations: 406.1 kB / 0.9982 GB, free: 12.56 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5361, allocations: 51.41 kB / 0.9983 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/0.5361, allocations: 101.8 kB / 0.9984 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.5362, allocations: 25.7 kB / 0.9984 GB, free: 12.36 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.5362, allocations: 80.14 kB / 0.9985 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.5362, allocations: 15.72 kB / 0.9985 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.5363, allocations: 25.7 kB / 0.9985 GB, free: 12.23 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5364, allocations: 310.8 kB / 0.9988 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.5366, allocations: 36.09 kB / 0.9989 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.5367, allocations: 35.97 kB / 0.9989 GB, free: 11.84 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.5371, allocations: 80.98 kB / 0.999 GB, free: 11.76 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5371, allocations: 4 kB / 0.999 GB, free: 11.76 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003645/0.5374, allocations: 113.6 kB / 0.9991 GB, free: 11.64 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5375, allocations: 7.938 kB / 0.9991 GB, free: 11.63 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5375, allocations: 0 / 0.9991 GB, free: 11.63 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5375, allocations: 0 / 0.9991 GB, free: 11.63 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.5377, allocations: 27.97 kB / 0.9991 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.5377, allocations: 0 / 0.9991 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.5378, allocations: 15.98 kB / 0.9991 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5378, allocations: 7.938 kB / 0.9991 GB, free: 11.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.733e-05/0.5379, allocations: 105.8 kB / 0.9992 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.5379, allocations: 8.266 kB / 0.9992 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.5384, allocations: 141.1 kB / 0.9994 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5384, allocations: 0 / 0.9994 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5384, allocations: 3.984 kB / 0.9994 GB, free: 11.31 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.5385, allocations: 85.09 kB / 0.9995 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.5386, allocations: 0 / 0.9995 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5387, allocations: 19.97 kB / 0.9995 GB, free: 11.19 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.5387, allocations: 4 kB / 0.9995 GB, free: 11.19 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005193/0.5392, allocations: 204.8 kB / 0.9997 GB, free: 10.98 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006324/0.5399, allocations: 342.5 kB / 1 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001675/0.5401, allocations: 44.3 kB / 1 GB, free: 10.59 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.5401, allocations: 83.28 kB / 1 GB, free: 10.5 MB / 0.6857 GB Notification: Performance of Backend: time 4.01e-07/0.5401, allocations: 0 / 1 GB, free: 10.5 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006776/0.5408, allocations: 164.7 kB / 1 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005134/0.5413, allocations: 0.573 MB / 1.001 GB, free: 9.715 MB / 0.6857 GB Notification: Performance of Templates: time 0.003997/0.5453, allocations: 1.704 MB / 1.003 GB, free: 8.023 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)