Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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_latest_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.001097/0.001097, allocations: 113.3 kB / 16.42 MB, free: 6.512 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.001113/0.001113, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.323/1.323, 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.05641/0.05641, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0008584/0.0008584, allocations: 23.95 kB / 356.3 MB, free: 13.98 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 2.091/2.091, allocations: 272.3 MB / 0.6657 GB, free: 18.42 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 111.8 kB / 0.8936 GB, free: 15.02 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5276, allocations: 109.1 MB / 1 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001628/0.5293, allocations: 0.7826 MB / 1.001 GB, free: 7.629 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.5306, allocations: 1.474 MB / 1.002 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.5307, allocations: 5.312 kB / 1.002 GB, free: 6.434 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.5307, allocations: 3.938 kB / 1.002 GB, free: 6.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.5308, allocations: 3.938 kB / 1.002 GB, free: 6.426 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.5312, allocations: 137.7 kB / 1.003 GB, free: 6.332 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.5313, allocations: 55.36 kB / 1.003 GB, free: 6.301 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.5313, allocations: 7.172 kB / 1.003 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.5314, allocations: 27.27 kB / 1.003 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.5314, allocations: 33.45 kB / 1.003 GB, free: 6.258 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.5315, allocations: 4.5 kB / 1.003 GB, free: 6.258 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.5319, allocations: 318.7 kB / 1.003 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.5319, allocations: 22.16 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.5319, allocations: 18.42 kB / 1.003 GB, free: 6.043 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.5322, allocations: 215.5 kB / 1.003 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5322, allocations: 1.375 kB / 1.003 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5322, allocations: 4 kB / 1.003 GB, free: 5.922 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5322, allocations: 0 / 1.003 GB, free: 5.922 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.0005301/0.5328, allocations: 392.5 kB / 1.004 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5328, allocations: 13.12 kB / 1.004 GB, free: 5.52 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.5333, allocations: 77.69 kB / 1.004 GB, free: 5.484 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.5333, allocations: 170.6 kB / 1.004 GB, free: 5.281 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.5334, allocations: 3.719 kB / 1.004 GB, free: 5.281 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5334, allocations: 12.8 kB / 1.004 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.5337, allocations: 114.1 kB / 1.004 GB, free: 5.195 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5338, allocations: 3.906 kB / 1.004 GB, free: 5.191 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.5338, allocations: 4.938 kB / 1.004 GB, free: 5.188 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5338, allocations: 2.125 kB / 1.004 GB, free: 5.188 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.5342, allocations: 99.39 kB / 1.004 GB, free: 5.148 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.5347, allocations: 336.2 kB / 1.004 GB, free: 4.812 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.5353, allocations: 156.8 kB / 1.005 GB, free: 4.73 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.5355, allocations: 57.53 kB / 1.005 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5355, allocations: 1.062 kB / 1.005 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.5356, allocations: 32.88 kB / 1.005 GB, free: 4.66 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5356, allocations: 0 / 1.005 GB, free: 4.66 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.01809/0.5537, allocations: 2.843 MB / 1.007 GB, free: 2.965 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.5537, allocations: 52.78 kB / 1.007 GB, free: 2.902 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.5538, allocations: 106.7 kB / 1.008 GB, free: 2.793 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5538, allocations: 25.7 kB / 1.008 GB, free: 2.762 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.5539, allocations: 90.33 kB / 1.008 GB, free: 2.672 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.5539, allocations: 44.19 kB / 1.008 GB, free: 2.633 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.5541, allocations: 69.48 kB / 1.008 GB, free: 2.574 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.5541, allocations: 316 kB / 1.008 GB, free: 2.258 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.5547, allocations: 196.4 kB / 1.008 GB, free: 2.16 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.5554, allocations: 189.9 kB / 1.008 GB, free: 2.07 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5566, allocations: 393.6 kB / 1.009 GB, free: 1.879 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5567, allocations: 0 / 1.009 GB, free: 1.879 MB / 0.6857 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001434/0.5581, allocations: 476.4 kB / 1.009 GB, free: 1.621 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5581, allocations: 5.219 kB / 1.009 GB, free: 1.621 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5581, allocations: 1.281 kB / 1.009 GB, free: 1.621 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5582, allocations: 0 / 1.009 GB, free: 1.621 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.559, allocations: 113.5 kB / 1.009 GB, free: 1.559 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.559, allocations: 5.812 kB / 1.009 GB, free: 1.555 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.5597, allocations: 49.84 kB / 1.009 GB, free: 1.531 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.5597, allocations: 21.38 kB / 1.009 GB, free: 1.516 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.0001312/0.5598, allocations: 113.1 kB / 1.01 GB, free: 1.398 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.5599, allocations: 7.312 kB / 1.01 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.56, allocations: 17.02 kB / 1.01 GB, free: 1.371 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.56, allocations: 4.094 kB / 1.01 GB, free: 1.367 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.56, allocations: 5.062 kB / 1.01 GB, free: 1.363 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.5602, allocations: 123.7 kB / 1.01 GB, free: 1.23 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.5602, allocations: 1.031 kB / 1.01 GB, free: 1.23 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.5609, allocations: 54.33 kB / 1.01 GB, free: 1.203 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.561, allocations: 22.47 kB / 1.01 GB, free: 1.188 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002025/0.563, allocations: 0.5965 MB / 1.01 GB, free: 0.8242 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002079/0.5651, allocations: 0.8761 MB / 1.011 GB, free: 264 kB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005978/0.5657, allocations: 199.3 kB / 1.011 GB, free: 164 kB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.272e-05/0.5658, allocations: 78.12 kB / 1.011 GB, free: 88 kB / 0.6857 GB Notification: Performance of Backend: time 5.81e-07/0.5658, allocations: 0 / 1.011 GB, free: 88 kB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.567, allocations: 359.7 kB / 1.012 GB, free: 15.88 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0006703/0.5677, allocations: 0.6407 MB / 1.012 GB, free: 15.24 MB / 0.7013 GB Notification: Performance of Templates: time 0.009948/0.5777, allocations: 6.949 MB / 1.019 GB, free: 11.54 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)