Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.00167, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001978/0.001978, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.08 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.06252/0.06252, allocations: 12.05 MB / 303.3 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007128/0.000713, allocations: 35.94 kB / 356.3 MB, free: 13.95 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.575/1.575, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 108.3 kB / 0.888 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5534, allocations: 108.4 MB / 0.9938 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.0029/0.5564, allocations: 1.415 MB / 0.9952 GB, free: 15.7 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.5569, allocations: 202.8 kB / 0.9954 GB, free: 15.5 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.557, allocations: 0 / 0.9954 GB, free: 15.5 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.557, allocations: 7.922 kB / 0.9954 GB, free: 15.49 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.5571, allocations: 3.938 kB / 0.9954 GB, free: 15.49 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.5574, allocations: 23.91 kB / 0.9954 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.5575, allocations: 23.92 kB / 0.9954 GB, free: 15.44 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.5576, allocations: 8 kB / 0.9955 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.5576, allocations: 15.92 kB / 0.9955 GB, free: 15.42 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.5577, allocations: 4 kB / 0.9955 GB, free: 15.41 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.5577, allocations: 4 kB / 0.9955 GB, free: 15.41 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.5578, allocations: 35.89 kB / 0.9955 GB, free: 15.38 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.5578, allocations: 0 / 0.9955 GB, free: 15.38 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.5579, allocations: 11.94 kB / 0.9955 GB, free: 15.36 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.558, allocations: 31.97 kB / 0.9956 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.558, allocations: 0 / 0.9956 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.142e-06/0.558, allocations: 0 / 0.9956 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.558, allocations: 0 / 0.9956 GB, free: 15.33 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004609/0.5585, allocations: 354.9 kB / 0.9959 GB, free: 14.94 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5585, allocations: 8.031 kB / 0.9959 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.5587, allocations: 8.875 kB / 0.9959 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5588, allocations: 168.3 kB / 0.9961 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5588, allocations: 4.375 kB / 0.9961 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.5588, allocations: 384 / 0.9961 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.559, allocations: 53.61 kB / 0.9961 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.559, allocations: 0 / 0.9961 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5591, allocations: 0 / 0.9961 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5591, allocations: 4 kB / 0.9961 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.5593, allocations: 35.95 kB / 0.9962 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.5596, allocations: 248.8 kB / 0.9964 GB, free: 14.33 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.5598, allocations: 46.52 kB / 0.9964 GB, free: 14.27 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.5599, allocations: 24.91 kB / 0.9965 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5599, allocations: 0 / 0.9965 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.5599, allocations: 38.5 kB / 0.9965 GB, free: 14.2 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.56, allocations: 0 / 0.9965 GB, free: 14.2 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.5603, allocations: 81.64 kB / 0.9966 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5604, allocations: 59.47 kB / 0.9966 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.5605, allocations: 97.84 kB / 0.9967 GB, free: 13.94 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.5605, allocations: 25.7 kB / 0.9968 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.5605, allocations: 84.14 kB / 0.9968 GB, free: 13.82 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.5605, allocations: 7.953 kB / 0.9968 GB, free: 13.81 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.5606, allocations: 9.719 kB / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5607, allocations: 318.8 kB / 0.9972 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.5608, allocations: 23.97 kB / 0.9972 GB, free: 13.45 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.5609, allocations: 15.98 kB / 0.9972 GB, free: 13.44 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.561, allocations: 36.83 kB / 0.9972 GB, free: 13.4 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.561, allocations: 0 / 0.9972 GB, free: 13.4 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000189/0.5612, allocations: 65.69 kB / 0.9973 GB, free: 13.33 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5613, allocations: 12 kB / 0.9973 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5613, allocations: 0 / 0.9973 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5613, allocations: 0 / 0.9973 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.5614, allocations: 11.98 kB / 0.9973 GB, free: 13.3 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5614, allocations: 0 / 0.9973 GB, free: 13.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.5615, allocations: 7.984 kB / 0.9973 GB, free: 13.3 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5615, allocations: 0 / 0.9973 GB, free: 13.3 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 (2): * Single equations (assignments): 2 * 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 7.679e-05/0.5616, allocations: 113.8 kB / 0.9974 GB, free: 13.18 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.5616, allocations: 15.89 kB / 0.9975 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.5618, allocations: 72.77 kB / 0.9975 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5619, allocations: 4 kB / 0.9975 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5619, allocations: 0 / 0.9975 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.5619, allocations: 77.11 kB / 0.9976 GB, free: 12.98 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.5619, allocations: 0 / 0.9976 GB, free: 12.98 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.562, allocations: 11.92 kB / 0.9976 GB, free: 12.97 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.5621, allocations: 7.938 kB / 0.9976 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002513/0.5623, allocations: 152.9 kB / 0.9978 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002753/0.5626, allocations: 238.8 kB / 0.998 GB, free: 12.56 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.273e-05/0.5627, allocations: 31.91 kB / 0.998 GB, free: 12.53 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.5628, allocations: 79.61 kB / 0.9981 GB, free: 12.45 MB / 0.6857 GB Notification: Performance of Backend: time 3.61e-07/0.5628, allocations: 0 / 0.9981 GB, free: 12.45 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.5633, allocations: 111.6 kB / 0.9982 GB, free: 12.34 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005567/0.5638, allocations: 0.5621 MB / 0.9988 GB, free: 11.73 MB / 0.6857 GB Notification: Performance of Templates: time 0.003318/0.5672, allocations: 0.7358 MB / 0.9995 GB, free: 11 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)