Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 114.8 kB / 16.42 MB, free: 6.465 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.001036/0.001036, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.29/1.29, allocations: 222.9 MB / 241 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.05712/0.05712, allocations: 12.04 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.0005162/0.0005163, allocations: 27.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.506/1.506, allocations: 268.3 MB / 0.6617 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 111.8 kB / 0.888 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5034, allocations: 108.4 MB / 0.9938 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002217/0.5057, allocations: 1.249 MB / 0.995 GB, free: 15.84 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.5085, allocations: 2.496 MB / 0.9975 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.5086, allocations: 4 kB / 0.9975 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.5086, allocations: 3.984 kB / 0.9975 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.5086, allocations: 3.938 kB / 0.9975 GB, free: 13.31 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.5091, allocations: 135.4 kB / 0.9976 GB, free: 13.18 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.5092, allocations: 39.91 kB / 0.9977 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.5093, allocations: 0 / 0.9977 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.5093, allocations: 27.86 kB / 0.9977 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.5094, allocations: 15.97 kB / 0.9977 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.5094, allocations: 4 kB / 0.9977 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.5097, allocations: 111.8 kB / 0.9978 GB, free: 12.98 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.5097, allocations: 15.91 kB / 0.9978 GB, free: 12.97 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.5098, allocations: 8 kB / 0.9978 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.51, allocations: 83.64 kB / 0.9979 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.51, allocations: 0 / 0.9979 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.464e-06/0.51, allocations: 4 kB / 0.9979 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.51, allocations: 3.938 kB / 0.9979 GB, free: 12.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003991/0.5104, allocations: 354.5 kB / 0.9983 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5104, allocations: 8.031 kB / 0.9983 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.5107, allocations: 16.83 kB / 0.9983 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.5108, allocations: 160.4 kB / 0.9984 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5108, allocations: 12.36 kB / 0.9984 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.5108, allocations: 4.375 kB / 0.9985 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.511, allocations: 76.38 kB / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.511, allocations: 3.938 kB / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.511, allocations: 0 / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.511, allocations: 4 kB / 0.9985 GB, free: 12.15 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.5111, allocations: 12 kB / 0.9985 GB, free: 12.14 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.5116, allocations: 478.7 kB / 0.999 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.5118, allocations: 71.72 kB / 0.9991 GB, free: 11.51 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.5118, allocations: 26.66 kB / 0.9991 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5118, allocations: 4 kB / 0.9991 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.5119, allocations: 38.56 kB / 0.9991 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.5119, allocations: 0 / 0.9991 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of matching and sorting (n=7): time 0.0005769/0.5125, allocations: 294.2 kB / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5125, allocations: 111.1 kB / 0.9995 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.5126, allocations: 94.19 kB / 0.9996 GB, free: 10.85 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5126, allocations: 33.64 kB / 0.9996 GB, free: 10.81 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.5127, allocations: 92.03 kB / 0.9997 GB, free: 10.72 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.5127, allocations: 27.56 kB / 0.9998 GB, free: 10.69 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.5127, allocations: 25.7 kB / 0.9998 GB, free: 10.66 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.5128, allocations: 318.8 kB / 1 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.5129, allocations: 15.98 kB / 1 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.5129, allocations: 55.39 kB / 1 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.513, allocations: 77.25 kB / 1 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.513, allocations: 4 kB / 1 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001371/0.5132, allocations: 93.55 kB / 1 GB, free: 10.06 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5132, allocations: 4 kB / 1 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5132, allocations: 0 / 1 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5132, allocations: 4 kB / 1 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.5133, allocations: 23.92 kB / 1 GB, free: 10.03 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5133, allocations: 4 kB / 1 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.5133, allocations: 7.906 kB / 1 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.5134, allocations: 8.125 kB / 1 GB, free: 10.01 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.903e-05/0.5134, allocations: 121.7 kB / 1 GB, free: 9.879 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.5135, allocations: 4 kB / 1 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.5135, allocations: 11.5 kB / 1 GB, free: 9.863 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5136, allocations: 3.984 kB / 1.001 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5136, allocations: 4 kB / 1.001 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.5136, allocations: 77.11 kB / 1.001 GB, free: 9.762 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.5136, allocations: 7.938 kB / 1.001 GB, free: 9.754 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5138, allocations: 3.984 kB / 1.001 GB, free: 9.75 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.5138, allocations: 12 kB / 1.001 GB, free: 9.738 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002134/0.5141, allocations: 307.3 kB / 1.001 GB, free: 9.426 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002587/0.5143, allocations: 413.3 kB / 1.001 GB, free: 9.004 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.64e-05/0.5144, allocations: 20.16 kB / 1.001 GB, free: 8.984 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.5144, allocations: 79.28 kB / 1.001 GB, free: 8.906 MB / 0.6857 GB Notification: Performance of Backend: time 1.91e-07/0.5144, allocations: 4 kB / 1.001 GB, free: 8.902 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.515, allocations: 165.4 kB / 1.002 GB, free: 8.734 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006413/0.5157, allocations: 0.761 MB / 1.002 GB, free: 7.926 MB / 0.6857 GB Notification: Performance of Templates: time 0.003686/0.5194, allocations: 1.266 MB / 1.004 GB, free: 6.695 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)