Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.6 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.001125/0.001125, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 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.05973/0.05973, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005039/0.0005039, allocations: 31.95 kB / 356.3 MB, free: 13.96 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.568/1.568, allocations: 268.2 MB / 0.6617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 115.8 kB / 0.888 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5168, allocations: 108.4 MB / 0.9938 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002221/0.5191, allocations: 1.269 MB / 0.9951 GB, free: 15.99 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.5203, allocations: 0.8262 MB / 0.9959 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.5204, allocations: 0 / 0.9959 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.5204, allocations: 4 kB / 0.9959 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.5205, allocations: 7.922 kB / 0.9959 GB, free: 15.15 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.521, allocations: 123.4 kB / 0.996 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.521, allocations: 23.92 kB / 0.996 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.5211, allocations: 7.984 kB / 0.996 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.5211, allocations: 11.94 kB / 0.9961 GB, free: 14.99 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.5212, allocations: 11.97 kB / 0.9961 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.5212, allocations: 0 / 0.9961 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.5216, allocations: 171.7 kB / 0.9962 GB, free: 14.81 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.5216, allocations: 7.922 kB / 0.9962 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.5216, allocations: 8 kB / 0.9962 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.5219, allocations: 115.6 kB / 0.9964 GB, free: 14.68 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5219, allocations: 0 / 0.9964 GB, free: 14.68 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5219, allocations: 4 kB / 0.9964 GB, free: 14.68 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.5219, allocations: 0 / 0.9964 GB, free: 14.68 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.000439/0.5223, allocations: 376 kB / 0.9967 GB, free: 14.27 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5224, allocations: 8.031 kB / 0.9967 GB, free: 14.26 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.5224, allocations: 4.938 kB / 0.9967 GB, free: 14.26 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.5225, allocations: 164.4 kB / 0.9969 GB, free: 14.06 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.5226, allocations: 34.25 kB / 0.9969 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.5226, allocations: 4.125 kB / 0.9969 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.5228, allocations: 53.62 kB / 0.997 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.5228, allocations: 0 / 0.997 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5228, allocations: 7.984 kB / 0.997 GB, free: 13.95 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.5228, allocations: 0 / 0.997 GB, free: 13.95 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.5229, allocations: 19.98 kB / 0.997 GB, free: 13.93 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.5231, allocations: 161.5 kB / 0.9972 GB, free: 13.72 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.5233, allocations: 46.61 kB / 0.9972 GB, free: 13.67 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.5234, allocations: 26 kB / 0.9972 GB, free: 13.64 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.5236, allocations: 178.2 kB / 0.9974 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.5237, allocations: 34.5 kB / 0.9974 GB, free: 13.39 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5237, allocations: 4 kB / 0.9974 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4): time 0.0002351/0.5239, allocations: 65.58 kB / 0.9975 GB, free: 13.31 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.524, allocations: 59.41 kB / 0.9976 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.524, allocations: 93.86 kB / 0.9976 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.524, allocations: 29.7 kB / 0.9977 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.5241, allocations: 80.14 kB / 0.9977 GB, free: 13.02 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.5241, allocations: 7.891 kB / 0.9978 GB, free: 13.02 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.5241, allocations: 17.72 kB / 0.9978 GB, free: 12.99 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5242, allocations: 310.8 kB / 0.9981 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.5243, allocations: 19.98 kB / 0.9981 GB, free: 12.66 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.5244, allocations: 4 kB / 0.9981 GB, free: 12.66 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.5245, allocations: 32.78 kB / 0.9981 GB, free: 12.62 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5245, allocations: 4 kB / 0.9981 GB, free: 12.62 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.5246, allocations: 61.52 kB / 0.9982 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5246, allocations: 4 kB / 0.9982 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5246, allocations: 3.984 kB / 0.9982 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5247, allocations: 7.938 kB / 0.9982 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.5247, allocations: 8 kB / 0.9982 GB, free: 12.53 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5247, allocations: 0 / 0.9982 GB, free: 12.53 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.5248, allocations: 4 kB / 0.9982 GB, free: 12.52 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.5248, allocations: 0 / 0.9982 GB, free: 12.52 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 (4): * Single equations (assignments): 4 * 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.127e-05/0.5248, allocations: 117.8 kB / 0.9983 GB, free: 12.4 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.5249, allocations: 7.938 kB / 0.9983 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.525, allocations: 61.17 kB / 0.9984 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5251, allocations: 4.562 kB / 0.9984 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5251, allocations: 4 kB / 0.9984 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.5251, allocations: 77.11 kB / 0.9985 GB, free: 12.22 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.5251, allocations: 7.984 kB / 0.9985 GB, free: 12.21 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.5252, allocations: 4 kB / 0.9985 GB, free: 12.21 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.5252, allocations: 0 / 0.9985 GB, free: 12.21 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001734/0.5254, allocations: 148.8 kB / 0.9986 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001992/0.5256, allocations: 230.7 kB / 0.9988 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.495e-05/0.5257, allocations: 15.98 kB / 0.9989 GB, free: 11.8 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.5257, allocations: 79.28 kB / 0.9989 GB, free: 11.72 MB / 0.6857 GB Notification: Performance of Backend: time 3.51e-07/0.5257, allocations: 0 / 0.9989 GB, free: 11.72 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.5262, allocations: 150.2 kB / 0.9991 GB, free: 11.56 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004022/0.5267, allocations: 0.5725 MB / 0.9996 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of Templates: time 0.003582/0.5303, allocations: 1.411 MB / 1.001 GB, free: 9.539 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)