Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001505/0.001505, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.416/1.416, 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.06131/0.06131, allocations: 12.05 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.0007375/0.0007379, allocations: 27.94 kB / 356.3 MB, free: 13.99 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.588/1.588, allocations: 268.2 MB / 0.6617 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 112.3 kB / 0.888 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6206, allocations: 108.4 MB / 0.9939 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00283/0.6235, allocations: 1.291 MB / 0.9951 GB, free: 15.82 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.6248, allocations: 0.6357 MB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.6248, allocations: 0 / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.6248, allocations: 0 / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.6249, allocations: 7.922 kB / 0.9958 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.6255, allocations: 103.2 kB / 0.9958 GB, free: 15.07 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 8.438e-05/0.6256, allocations: 47.72 kB / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.6257, allocations: 4 kB / 0.9959 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.6257, allocations: 11.98 kB / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.6258, allocations: 15.92 kB / 0.9959 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.6258, allocations: 0 / 0.9959 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.6262, allocations: 139.8 kB / 0.9961 GB, free: 14.86 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.6262, allocations: 3.984 kB / 0.9961 GB, free: 14.86 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.6262, allocations: 8 kB / 0.9961 GB, free: 14.85 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.6265, allocations: 102.5 kB / 0.9962 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6265, allocations: 0 / 0.9962 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6265, allocations: 0 / 0.9962 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6265, allocations: 4 kB / 0.9962 GB, free: 14.75 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.0005386/0.6271, allocations: 355.2 kB / 0.9965 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6271, allocations: 8.031 kB / 0.9965 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.6276, allocations: 32.84 kB / 0.9965 GB, free: 14.32 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.6277, allocations: 168.3 kB / 0.9967 GB, free: 14.12 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6278, allocations: 8.375 kB / 0.9967 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.6278, allocations: 4.375 kB / 0.9967 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.628, allocations: 57.59 kB / 0.9968 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.628, allocations: 0 / 0.9968 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.628, allocations: 0 / 0.9968 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.628, allocations: 0 / 0.9968 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.6282, allocations: 27.97 kB / 0.9968 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.6284, allocations: 169.7 kB / 0.997 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.6287, allocations: 66.47 kB / 0.997 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.6288, allocations: 28.94 kB / 0.9971 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.6289, allocations: 7.938 kB / 0.9971 GB, free: 13.69 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.6289, allocations: 30.56 kB / 0.9971 GB, free: 13.65 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.6289, allocations: 0 / 0.9971 GB, free: 13.65 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.003598/0.6325, allocations: 0.5644 MB / 0.9976 GB, free: 13.03 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.6326, allocations: 63.27 kB / 0.9977 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.6326, allocations: 97.86 kB / 0.9978 GB, free: 12.85 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.6327, allocations: 25.7 kB / 0.9978 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.6327, allocations: 88.12 kB / 0.9979 GB, free: 12.73 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.6328, allocations: 23.8 kB / 0.9979 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.6329, allocations: 25.69 kB / 0.998 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.633, allocations: 319 kB / 0.9983 GB, free: 12.36 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.6331, allocations: 31.97 kB / 0.9983 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.6333, allocations: 39.97 kB / 0.9983 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.6335, allocations: 80.81 kB / 0.9984 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6336, allocations: 0 / 0.9984 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003545/0.6339, allocations: 125.5 kB / 0.9985 GB, free: 12.07 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6339, allocations: 11.94 kB / 0.9985 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.634, allocations: 8.047 kB / 0.9985 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.634, allocations: 0 / 0.9985 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.6342, allocations: 27.97 kB / 0.9986 GB, free: 12.03 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6342, allocations: 0 / 0.9986 GB, free: 12.03 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.6344, allocations: 4 kB / 0.9986 GB, free: 12.02 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.6344, allocations: 4.312 kB / 0.9986 GB, free: 12.02 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 (7): * Single equations (assignments): 7 * 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 9.445e-05/0.6345, allocations: 113.8 kB / 0.9987 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.6345, allocations: 7.875 kB / 0.9987 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.6346, allocations: 15.97 kB / 0.9987 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6346, allocations: 3.984 kB / 0.9987 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6346, allocations: 0 / 0.9987 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.6347, allocations: 81.06 kB / 0.9988 GB, free: 11.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.6347, allocations: 3.984 kB / 0.9988 GB, free: 11.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.6349, allocations: 12 kB / 0.9988 GB, free: 11.75 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.635, allocations: 7.984 kB / 0.9988 GB, free: 11.75 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005677/0.6355, allocations: 212.8 kB / 0.999 GB, free: 11.53 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006329/0.6362, allocations: 334.7 kB / 0.9993 GB, free: 11.19 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000149/0.6363, allocations: 44.05 kB / 0.9994 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.6364, allocations: 83.28 kB / 0.9995 GB, free: 11.06 MB / 0.6857 GB Notification: Performance of Backend: time 6.51e-07/0.6364, allocations: 0 / 0.9995 GB, free: 11.06 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.6371, allocations: 174.1 kB / 0.9996 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006057/0.6377, allocations: 0.5773 MB / 1 GB, free: 10.26 MB / 0.6857 GB Notification: Performance of Templates: time 0.005853/0.6436, allocations: 2.443 MB / 1.003 GB, free: 7.871 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)