Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) 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/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) 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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Running command: translateModel(AixLib.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(AixLib.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). [/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. [/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/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/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/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/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_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/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/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/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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.808/1.808, allocations: 264.6 MB / 271.9 MB, free: 8.875 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 181.2 kB / 329.3 MB, free: 460 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.4 MB / 0.5937 GB, free: 14.52 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 92.62 kB / 0.6989 GB, free: 2.672 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0552/0.0552, allocations: 11.9 MB / 0.8156 GB, free: 65.56 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005325/0.0005327, allocations: 18.17 kB / 0.9236 GB, free: 86.96 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.099e-05/1.122e-05, allocations: 4 kB / 1.039 GB, free: 9.242 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3192, allocations: 110.2 MB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8276/1.147, allocations: 135.6 MB / 1.279 GB, free: 54.41 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.147, allocations: 73.48 kB / 1.279 GB, free: 54.37 MB / 0.7293 GB Notification: Performance of FrontEnd: time 0.007944/1.155, allocations: 2.258 MB / 1.281 GB, free: 52.5 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.155, allocations: 0 / 1.281 GB, free: 52.5 MB / 0.7293 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.0004927/1.156, allocations: 403.4 kB / 1.281 GB, free: 52.07 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.156, allocations: 8.031 kB / 1.281 GB, free: 52.06 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/1.156, allocations: 7.906 kB / 1.281 GB, free: 52.05 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/1.156, allocations: 182.9 kB / 1.282 GB, free: 51.83 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.156, allocations: 0 / 1.282 GB, free: 51.83 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/1.156, allocations: 5.5 kB / 1.282 GB, free: 51.83 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/1.156, allocations: 18.56 kB / 1.282 GB, free: 51.82 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/1.156, allocations: 49.5 kB / 1.282 GB, free: 51.77 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.156, allocations: 0 / 1.282 GB, free: 51.77 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.156, allocations: 0 / 1.282 GB, free: 51.77 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.156, allocations: 4 kB / 1.282 GB, free: 51.77 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/1.157, allocations: 259.1 kB / 1.282 GB, free: 51.49 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/1.157, allocations: 26.2 kB / 1.282 GB, free: 51.46 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/1.157, allocations: 19.55 kB / 1.282 GB, free: 51.44 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/1.157, allocations: 91.17 kB / 1.282 GB, free: 51.34 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.157, allocations: 40.78 kB / 1.282 GB, free: 51.29 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/1.157, allocations: 0 / 1.282 GB, free: 51.29 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0004118/1.158, allocations: 84.06 kB / 1.282 GB, free: 51.21 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.158, allocations: 51.41 kB / 1.282 GB, free: 51.15 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/1.158, allocations: 100.5 kB / 1.282 GB, free: 51.05 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/1.158, allocations: 27.78 kB / 1.282 GB, free: 51.02 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/1.158, allocations: 91 kB / 1.282 GB, free: 50.93 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/1.158, allocations: 7.844 kB / 1.282 GB, free: 50.92 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.158, allocations: 0 / 1.282 GB, free: 50.92 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/1.158, allocations: 320.4 kB / 1.283 GB, free: 50.6 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/1.158, allocations: 12.94 kB / 1.283 GB, free: 50.59 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/1.158, allocations: 7.125 kB / 1.283 GB, free: 50.59 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/1.158, allocations: 37.88 kB / 1.283 GB, free: 50.56 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.158, allocations: 0 / 1.283 GB, free: 50.56 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002469/1.158, allocations: 80.39 kB / 1.283 GB, free: 50.48 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.158, allocations: 7.984 kB / 1.283 GB, free: 50.48 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.158, allocations: 0 / 1.283 GB, free: 50.48 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.158, allocations: 7.906 kB / 1.283 GB, free: 50.47 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/1.159, allocations: 23.98 kB / 1.283 GB, free: 50.45 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.159, allocations: 0 / 1.283 GB, free: 50.45 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/1.159, allocations: 19.98 kB / 1.283 GB, free: 50.43 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.159, allocations: 0 / 1.283 GB, free: 50.43 MB / 0.7293 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/1.159, allocations: 108.8 kB / 1.283 GB, free: 50.31 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/1.159, allocations: 3.906 kB / 1.283 GB, free: 50.31 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/1.159, allocations: 99.02 kB / 1.283 GB, free: 50.22 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.159, allocations: 0 / 1.283 GB, free: 50.22 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.159, allocations: 4 kB / 1.283 GB, free: 50.22 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.159, allocations: 0 / 1.283 GB, free: 50.22 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/1.159, allocations: 152.9 kB / 1.283 GB, free: 50.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.159, allocations: 4 kB / 1.283 GB, free: 50.04 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/1.159, allocations: 19.98 kB / 1.283 GB, free: 50.02 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.159, allocations: 4 kB / 1.283 GB, free: 50.01 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.159, allocations: 1.25 kB / 1.283 GB, free: 50.01 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.159, allocations: 0 / 1.283 GB, free: 50.01 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.159, allocations: 3.938 kB / 1.283 GB, free: 50.01 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002612/1.16, allocations: 177.6 kB / 1.283 GB, free: 49.83 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/1.16, allocations: 85.02 kB / 1.283 GB, free: 49.73 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/1.16, allocations: 0 / 1.283 GB, free: 49.73 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.16, allocations: 23.97 kB / 1.283 GB, free: 49.71 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/1.16, allocations: 4 kB / 1.283 GB, free: 49.7 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/1.16, allocations: 0 / 1.283 GB, free: 49.7 MB / 0.7293 GB Notification: Performance of sort global known variables: time 2.769e-05/1.16, allocations: 92.27 kB / 1.284 GB, free: 49.62 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0002662/1.16, allocations: 35.31 kB / 1.284 GB, free: 49.59 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002265/1.16, allocations: 143.2 kB / 1.284 GB, free: 49.44 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001004/1.161, allocations: 19.12 kB / 1.284 GB, free: 49.43 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.161, allocations: 0 / 1.284 GB, free: 49.43 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/1.161, allocations: 11.81 kB / 1.284 GB, free: 49.42 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/1.161, allocations: 5.5 kB / 1.284 GB, free: 49.41 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/1.161, allocations: 88.86 kB / 1.284 GB, free: 49.31 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/1.161, allocations: 0.6954 MB / 1.285 GB, free: 48.59 MB / 0.7293 GB Notification: Performance of SimCode: time 2.51e-07/1.161, allocations: 0 / 1.285 GB, free: 48.59 MB / 0.7293 GB Notification: Performance of Templates: time 0.003319/1.165, allocations: 1.179 MB / 1.286 GB, free: 47.46 MB / 0.7293 GB make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)