Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001079/0.001079, allocations: 114 kB / 16.42 MB, free: 6.016 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.001109/0.001109, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 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.05786/0.05786, allocations: 12.04 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006034/0.0006034, allocations: 27.89 kB / 356.3 MB, free: 13.99 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.909/1.909, allocations: 272.3 MB / 0.6657 GB, free: 18.19 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 111.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5341, allocations: 109.1 MB / 1 GB, free: 8.195 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001568/0.5357, allocations: 0.5937 MB / 1.001 GB, free: 7.754 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.5371, allocations: 1.456 MB / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.5372, allocations: 0 / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.5372, allocations: 1.312 kB / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 2.257e-05/0.5372, allocations: 0 / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.5377, allocations: 145.2 kB / 1.002 GB, free: 6.473 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.5377, allocations: 27.22 kB / 1.002 GB, free: 6.461 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.5378, allocations: 5.531 kB / 1.002 GB, free: 6.457 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.5378, allocations: 22.16 kB / 1.002 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.5379, allocations: 21.03 kB / 1.002 GB, free: 6.434 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.5379, allocations: 2.156 kB / 1.002 GB, free: 6.434 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.5384, allocations: 320.4 kB / 1.003 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.5384, allocations: 14.41 kB / 1.003 GB, free: 6.234 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.5384, allocations: 14.39 kB / 1.003 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.5387, allocations: 187.2 kB / 1.003 GB, free: 6.125 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5387, allocations: 1.344 kB / 1.003 GB, free: 6.125 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5387, allocations: 0 / 1.003 GB, free: 6.125 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.5387, allocations: 0 / 1.003 GB, free: 6.125 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.0004253/0.5391, allocations: 367.8 kB / 1.003 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5392, allocations: 9.344 kB / 1.003 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.5396, allocations: 63.61 kB / 1.003 GB, free: 5.715 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.121e-05/0.5397, allocations: 165.5 kB / 1.003 GB, free: 5.516 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5398, allocations: 9.406 kB / 1.003 GB, free: 5.508 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.5398, allocations: 2.531 kB / 1.003 GB, free: 5.508 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.54, allocations: 73.64 kB / 1.004 GB, free: 5.453 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.54, allocations: 0 / 1.004 GB, free: 5.453 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5401, allocations: 0 / 1.004 GB, free: 5.453 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5401, allocations: 1.031 kB / 1.004 GB, free: 5.453 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.5404, allocations: 70.42 kB / 1.004 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.5405, allocations: 169.7 kB / 1.004 GB, free: 5.215 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.5411, allocations: 115.3 kB / 1.004 GB, free: 5.156 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.5412, allocations: 44.22 kB / 1.004 GB, free: 5.133 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.5417, allocations: 154.5 kB / 1.004 GB, free: 5.008 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.5417, allocations: 35.81 kB / 1.004 GB, free: 4.965 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5417, allocations: 0 / 1.004 GB, free: 4.965 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5): time 0.001114/0.5428, allocations: 410 kB / 1.005 GB, free: 4.633 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.5428, allocations: 55.34 kB / 1.005 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.5429, allocations: 108.1 kB / 1.005 GB, free: 4.453 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5429, allocations: 26.8 kB / 1.005 GB, free: 4.422 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.412e-05/0.5429, allocations: 80.14 kB / 1.005 GB, free: 4.34 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.543, allocations: 18.12 kB / 1.005 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.543, allocations: 24.77 kB / 1.005 GB, free: 4.301 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.5431, allocations: 314.8 kB / 1.005 GB, free: 3.984 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.5432, allocations: 37.28 kB / 1.005 GB, free: 3.969 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.5434, allocations: 37.64 kB / 1.005 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.5437, allocations: 79.64 kB / 1.005 GB, free: 3.914 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.5437, allocations: 1.031 kB / 1.005 GB, free: 3.914 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003452/0.544, allocations: 108.4 kB / 1.005 GB, free: 3.852 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5441, allocations: 14.25 kB / 1.005 GB, free: 3.844 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.5441, allocations: 0 / 1.005 GB, free: 3.844 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5441, allocations: 0 / 1.005 GB, free: 3.844 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.5442, allocations: 28.56 kB / 1.005 GB, free: 3.832 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5443, allocations: 1.469 kB / 1.005 GB, free: 3.832 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.5444, allocations: 10.83 kB / 1.005 GB, free: 3.828 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5444, allocations: 2.188 kB / 1.005 GB, free: 3.828 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 5.557e-05/0.5444, allocations: 111 kB / 1.006 GB, free: 3.711 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.5444, allocations: 6.188 kB / 1.006 GB, free: 3.707 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.5449, allocations: 137.9 kB / 1.006 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5449, allocations: 0 / 1.006 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5449, allocations: 0 / 1.006 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.545, allocations: 88.41 kB / 1.006 GB, free: 3.516 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.545, allocations: 5.109 kB / 1.006 GB, free: 3.512 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5451, allocations: 15.52 kB / 1.006 GB, free: 3.504 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.5451, allocations: 2.25 kB / 1.006 GB, free: 3.504 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000457/0.5456, allocations: 213.4 kB / 1.006 GB, free: 3.348 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005331/0.5461, allocations: 333 kB / 1.006 GB, free: 3.082 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001515/0.5463, allocations: 48.52 kB / 1.006 GB, free: 3.059 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.5463, allocations: 76.47 kB / 1.006 GB, free: 2.984 MB / 0.6857 GB Notification: Performance of Backend: time 6.51e-07/0.5463, allocations: 0 / 1.006 GB, free: 2.984 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.5469, allocations: 182.8 kB / 1.007 GB, free: 2.863 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002771/0.5472, allocations: 0.5647 MB / 1.007 GB, free: 2.27 MB / 0.6857 GB Notification: Performance of Templates: time 0.003866/0.5511, allocations: 1.702 MB / 1.009 GB, free: 1.387 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)