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.001155/0.001155, allocations: 112.6 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.001223/0.001223, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.05831/0.05831, allocations: 12.05 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.0005171/0.0005171, allocations: 23.95 kB / 356.3 MB, free: 13.98 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.571/1.571, allocations: 268.2 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003561/0.003561, allocations: 119.8 kB / 0.8881 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5927, allocations: 108.4 MB / 0.9939 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00195/0.5947, allocations: 0.5979 MB / 0.9945 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.5968, allocations: 1.443 MB / 0.9959 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.5969, allocations: 7.875 kB / 0.9959 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.5969, allocations: 0 / 0.9959 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 2.78e-05/0.597, allocations: 4 kB / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.5976, allocations: 139.5 kB / 0.996 GB, free: 14.89 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.5977, allocations: 27.97 kB / 0.9961 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.5978, allocations: 4 kB / 0.9961 GB, free: 14.86 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.5978, allocations: 19.98 kB / 0.9961 GB, free: 14.84 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.5979, allocations: 31.88 kB / 0.9961 GB, free: 14.81 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.598, allocations: 4 kB / 0.9961 GB, free: 14.81 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.5985, allocations: 307.4 kB / 0.9964 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.5985, allocations: 7.984 kB / 0.9964 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.5986, allocations: 23.84 kB / 0.9964 GB, free: 14.48 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.5989, allocations: 186.4 kB / 0.9966 GB, free: 14.3 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5989, allocations: 0 / 0.9966 GB, free: 14.3 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5989, allocations: 0 / 0.9966 GB, free: 14.3 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.599, allocations: 0 / 0.9966 GB, free: 14.3 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.00059/0.5996, allocations: 375 kB / 0.997 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5996, allocations: 8.031 kB / 0.997 GB, free: 13.88 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/0.6001, allocations: 68.8 kB / 0.997 GB, free: 13.81 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.6003, allocations: 168.3 kB / 0.9972 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.6003, allocations: 384 / 0.9972 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.6003, allocations: 384 / 0.9972 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.6006, allocations: 81.94 kB / 0.9973 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6006, allocations: 0 / 0.9973 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.6006, allocations: 8 kB / 0.9973 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6006, allocations: 7.938 kB / 0.9973 GB, free: 13.51 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.6009, allocations: 63.88 kB / 0.9974 GB, free: 13.45 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.6011, allocations: 161.7 kB / 0.9975 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.6018, allocations: 122.5 kB / 0.9976 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.6019, allocations: 44.91 kB / 0.9977 GB, free: 13.06 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.6024, allocations: 157 kB / 0.9978 GB, free: 12.89 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.6025, allocations: 34.5 kB / 0.9979 GB, free: 12.85 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.6025, allocations: 0 / 0.9979 GB, free: 12.85 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5): time 0.001152/0.6036, allocations: 410.2 kB / 0.9983 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.6037, allocations: 51.41 kB / 0.9983 GB, free: 12.33 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.6037, allocations: 97.8 kB / 0.9984 GB, free: 12.23 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.6038, allocations: 29.7 kB / 0.9984 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.6038, allocations: 80.14 kB / 0.9985 GB, free: 12.11 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.6038, allocations: 19.8 kB / 0.9985 GB, free: 12.09 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.6039, allocations: 21.7 kB / 0.9985 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.604, allocations: 319 kB / 0.9988 GB, free: 11.74 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.6042, allocations: 35.97 kB / 0.9989 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.6043, allocations: 39.95 kB / 0.9989 GB, free: 11.67 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.6046, allocations: 72.8 kB / 0.999 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.6046, allocations: 4 kB / 0.999 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000355/0.605, allocations: 105.6 kB / 0.9991 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.605, allocations: 11.94 kB / 0.9991 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.605, allocations: 0 / 0.9991 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6051, allocations: 7.922 kB / 0.9991 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.6052, allocations: 27.92 kB / 0.9991 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6052, allocations: 0 / 0.9991 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.6053, allocations: 11.98 kB / 0.9991 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.6054, allocations: 0 / 0.9991 GB, free: 11.42 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 8.233e-05/0.6055, allocations: 121.8 kB / 0.9993 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.6055, allocations: 3.938 kB / 0.9993 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.6059, allocations: 125.4 kB / 0.9994 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.606, allocations: 4.047 kB / 0.9994 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.606, allocations: 11.94 kB / 0.9994 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.606, allocations: 89.05 kB / 0.9995 GB, free: 11.04 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.6061, allocations: 0 / 0.9995 GB, free: 11.04 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6062, allocations: 15.98 kB / 0.9995 GB, free: 11.02 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.6062, allocations: 4 kB / 0.9995 GB, free: 11.02 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004991/0.6067, allocations: 204.9 kB / 0.9997 GB, free: 10.81 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006089/0.6074, allocations: 342.5 kB / 1 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001629/0.6075, allocations: 40 kB / 1 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.6076, allocations: 79.28 kB / 1 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of Backend: time 4.6e-07/0.6076, allocations: 160 / 1 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007394/0.6083, allocations: 180.2 kB / 1 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004453/0.6088, allocations: 0.5609 MB / 1.001 GB, free: 9.551 MB / 0.6857 GB Notification: Performance of Templates: time 0.004382/0.6132, allocations: 1.699 MB / 1.003 GB, free: 7.859 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)