Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.001151/0.001151, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.322/1.322, allocations: 222.9 MB / 241 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.05773/0.05773, allocations: 12.05 MB / 303.3 MB, free: 3.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005179/0.0005179, allocations: 39.81 kB / 356.3 MB, free: 14 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.514/1.514, allocations: 268.2 MB / 0.6617 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 115.8 kB / 0.8881 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5324, allocations: 108.4 MB / 0.9939 GB, free: 11.93 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001658/0.5341, allocations: 0.7693 MB / 0.9946 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.5355, allocations: 1.476 MB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.5356, allocations: 1.594 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.5356, allocations: 3.938 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.5356, allocations: 3.938 kB / 0.9961 GB, free: 10.15 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.5361, allocations: 149.3 kB / 0.9962 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.5362, allocations: 50.89 kB / 0.9963 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.5362, allocations: 7.531 kB / 0.9963 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.5363, allocations: 23.02 kB / 0.9963 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.5364, allocations: 37.77 kB / 0.9963 GB, free: 9.98 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.5364, allocations: 4.719 kB / 0.9964 GB, free: 9.98 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.5368, allocations: 321.7 kB / 0.9967 GB, free: 9.793 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.5368, allocations: 15.42 kB / 0.9967 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.5368, allocations: 25.64 kB / 0.9967 GB, free: 9.762 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.5371, allocations: 219.9 kB / 0.9969 GB, free: 9.641 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5371, allocations: 0 / 0.9969 GB, free: 9.641 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5371, allocations: 0 / 0.9969 GB, free: 9.641 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.5371, allocations: 1.125 kB / 0.9969 GB, free: 9.641 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005468/0.5377, allocations: 396.6 kB / 0.9973 GB, free: 9.238 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5377, allocations: 13.03 kB / 0.9973 GB, free: 9.234 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.5382, allocations: 73.78 kB / 0.9974 GB, free: 9.203 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.5383, allocations: 170.5 kB / 0.9975 GB, free: 9 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5383, allocations: 10.62 kB / 0.9975 GB, free: 8.992 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.5383, allocations: 9.562 kB / 0.9976 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.5387, allocations: 106.3 kB / 0.9977 GB, free: 8.918 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5387, allocations: 3.906 kB / 0.9977 GB, free: 8.914 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.5387, allocations: 5.188 kB / 0.9977 GB, free: 8.91 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5387, allocations: 9.125 kB / 0.9977 GB, free: 8.902 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.5392, allocations: 103.4 kB / 0.9978 GB, free: 8.859 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.5397, allocations: 325.8 kB / 0.9981 GB, free: 8.535 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.5403, allocations: 151.3 kB / 0.9982 GB, free: 8.457 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.5406, allocations: 58.78 kB / 0.9983 GB, free: 8.426 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5406, allocations: 5.828 kB / 0.9983 GB, free: 8.422 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.5406, allocations: 31.75 kB / 0.9983 GB, free: 8.383 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5406, allocations: 0 / 0.9983 GB, free: 8.383 MB / 0.6857 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01758/0.5582, allocations: 2.839 MB / 1.001 GB, free: 6.688 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.5582, allocations: 52.47 kB / 1.001 GB, free: 6.625 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.5583, allocations: 107.6 kB / 1.001 GB, free: 6.516 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.5583, allocations: 25.7 kB / 1.001 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.5584, allocations: 93.98 kB / 1.001 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.5584, allocations: 36.05 kB / 1.001 GB, free: 6.359 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.5586, allocations: 73.64 kB / 1.001 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.5586, allocations: 320.2 kB / 1.002 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.5593, allocations: 188.7 kB / 1.002 GB, free: 5.887 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.5599, allocations: 189.7 kB / 1.002 GB, free: 5.797 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5612, allocations: 399.6 kB / 1.003 GB, free: 5.602 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5612, allocations: 0 / 1.003 GB, free: 5.602 MB / 0.6857 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00145/0.5626, allocations: 476.7 kB / 1.003 GB, free: 5.344 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5627, allocations: 5.219 kB / 1.003 GB, free: 5.344 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.5627, allocations: 9.516 kB / 1.003 GB, free: 5.336 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5627, allocations: 0 / 1.003 GB, free: 5.336 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.5635, allocations: 102.2 kB / 1.003 GB, free: 5.285 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5635, allocations: 7.875 kB / 1.003 GB, free: 5.277 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.5641, allocations: 50.27 kB / 1.003 GB, free: 5.254 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.5642, allocations: 26.03 kB / 1.003 GB, free: 5.234 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 (13): * Single equations (assignments): 13 * 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 0.0001229/0.5643, allocations: 117.2 kB / 1.003 GB, free: 5.113 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.5644, allocations: 7.531 kB / 1.003 GB, free: 5.109 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.5644, allocations: 13.17 kB / 1.003 GB, free: 5.09 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5644, allocations: 0 / 1.003 GB, free: 5.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5644, allocations: 0 / 1.003 GB, free: 5.09 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.5646, allocations: 123.8 kB / 1.003 GB, free: 4.957 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.5647, allocations: 9.047 kB / 1.003 GB, free: 4.949 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.5653, allocations: 47.06 kB / 1.003 GB, free: 4.93 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.5654, allocations: 26.89 kB / 1.003 GB, free: 4.91 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002085/0.5675, allocations: 0.6017 MB / 1.004 GB, free: 4.543 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002208/0.5697, allocations: 0.8689 MB / 1.005 GB, free: 3.98 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006382/0.5704, allocations: 200.5 kB / 1.005 GB, free: 3.883 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.008e-05/0.5704, allocations: 81.47 kB / 1.005 GB, free: 3.805 MB / 0.6857 GB Notification: Performance of Backend: time 4.71e-07/0.5704, allocations: 1.125 kB / 1.005 GB, free: 3.805 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.5717, allocations: 357.6 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005311/0.5722, allocations: 0.6312 MB / 1.006 GB, free: 2.973 MB / 0.6857 GB Notification: Performance of Templates: time 0.008839/0.581, allocations: 6.944 MB / 1.013 GB, free: 15.29 MB / 0.7013 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)