Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(AixLib.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_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.911/1.911, allocations: 264.6 MB / 271.9 MB, free: 8.797 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.001143/0.001143, allocations: 181.3 kB / 329.3 MB, free: 384 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.615/1.615, allocations: 221.4 MB / 0.5937 GB, free: 14.45 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.001081/0.00108, allocations: 96.62 kB / 0.6989 GB, free: 2.594 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05264/0.05265, allocations: 11.9 MB / 0.8156 GB, free: 65.5 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.0004294/0.0004294, allocations: 13.14 kB / 0.9236 GB, free: 86.79 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.532e-05, allocations: 4 kB / 1.039 GB, free: 9.184 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3147, allocations: 110.2 MB / 1.146 GB, free: 10.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8298/1.145, allocations: 160.9 MB / 1.303 GB, free: 29.28 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.145, allocations: 73.42 kB / 1.303 GB, free: 29.24 MB / 0.7293 GB Notification: Performance of FrontEnd: time 0.00511/1.15, allocations: 1.892 MB / 1.305 GB, free: 27.7 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 9.168e-06/1.15, allocations: 0 / 1.305 GB, free: 27.7 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.0004058/1.15, allocations: 373.4 kB / 1.306 GB, free: 27.29 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.15, allocations: 12.03 kB / 1.306 GB, free: 27.28 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/1.151, allocations: 3.906 kB / 1.306 GB, free: 27.27 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/1.151, allocations: 171 kB / 1.306 GB, free: 27.07 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/1.151, allocations: 0 / 1.306 GB, free: 27.07 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.151, allocations: 5.125 kB / 1.306 GB, free: 27.06 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.838e-05/1.151, allocations: 21.88 kB / 1.306 GB, free: 27.05 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/1.151, allocations: 46.05 kB / 1.306 GB, free: 27 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/1.151, allocations: 4 kB / 1.306 GB, free: 27 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.151, allocations: 0 / 1.306 GB, free: 27 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.151, allocations: 4 kB / 1.306 GB, free: 27 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/1.151, allocations: 259.1 kB / 1.306 GB, free: 26.72 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/1.151, allocations: 29.11 kB / 1.306 GB, free: 26.69 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/1.151, allocations: 20.09 kB / 1.306 GB, free: 26.67 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/1.152, allocations: 95.25 kB / 1.306 GB, free: 26.56 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/1.152, allocations: 35.2 kB / 1.306 GB, free: 26.52 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/1.152, allocations: 0 / 1.306 GB, free: 26.52 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0002341/1.152, allocations: 56.72 kB / 1.306 GB, free: 26.46 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/1.152, allocations: 51.41 kB / 1.306 GB, free: 26.4 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/1.152, allocations: 96.62 kB / 1.306 GB, free: 26.3 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/1.152, allocations: 32.92 kB / 1.307 GB, free: 26.27 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/1.152, allocations: 95.44 kB / 1.307 GB, free: 26.18 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/1.152, allocations: 3.906 kB / 1.307 GB, free: 26.17 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.152, allocations: 0 / 1.307 GB, free: 26.17 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 6.087e-05/1.152, allocations: 322 kB / 1.307 GB, free: 25.85 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/1.152, allocations: 7.938 kB / 1.307 GB, free: 25.85 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/1.152, allocations: 4 kB / 1.307 GB, free: 25.84 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/1.152, allocations: 19.86 kB / 1.307 GB, free: 25.83 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.152, allocations: 0 / 1.307 GB, free: 25.83 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.733e-05/1.152, allocations: 53.31 kB / 1.307 GB, free: 25.78 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.152, allocations: 8.625 kB / 1.307 GB, free: 25.77 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.152, allocations: 2.062 kB / 1.307 GB, free: 25.77 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.152, allocations: 3.906 kB / 1.307 GB, free: 25.77 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/1.152, allocations: 27.97 kB / 1.307 GB, free: 25.74 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.152, allocations: 0 / 1.307 GB, free: 25.74 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/1.153, allocations: 19.98 kB / 1.307 GB, free: 25.72 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.153, allocations: 0 / 1.307 GB, free: 25.72 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.52e-05/1.153, allocations: 108.8 kB / 1.307 GB, free: 25.61 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/1.153, allocations: 3.906 kB / 1.307 GB, free: 25.6 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/1.153, allocations: 74.38 kB / 1.307 GB, free: 25.53 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.153, allocations: 0.9844 kB / 1.307 GB, free: 25.53 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.153, allocations: 0 / 1.307 GB, free: 25.53 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.153, allocations: 0 / 1.307 GB, free: 25.53 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/1.153, allocations: 153.4 kB / 1.307 GB, free: 25.35 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.153, allocations: 0 / 1.307 GB, free: 25.35 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.153, allocations: 27.98 kB / 1.307 GB, free: 25.32 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.153, allocations: 0 / 1.307 GB, free: 25.32 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/1.153, allocations: 3.062 kB / 1.307 GB, free: 25.32 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.153, allocations: 0 / 1.307 GB, free: 25.32 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.153, allocations: 3.938 kB / 1.307 GB, free: 25.32 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001572/1.153, allocations: 154.2 kB / 1.308 GB, free: 25.16 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/1.153, allocations: 81.02 kB / 1.308 GB, free: 25.06 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/1.153, allocations: 4 kB / 1.308 GB, free: 25.06 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/1.154, allocations: 18.98 kB / 1.308 GB, free: 25.04 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/1.154, allocations: 15.61 kB / 1.308 GB, free: 25.03 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/1.154, allocations: 0 / 1.308 GB, free: 25.03 MB / 0.7293 GB Notification: Performance of sort global known variables: time 2.876e-05/1.154, allocations: 86.97 kB / 1.308 GB, free: 24.95 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0002173/1.154, allocations: 19.94 kB / 1.308 GB, free: 24.93 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.0002223/1.154, allocations: 131.3 kB / 1.308 GB, free: 24.79 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/1.154, allocations: 27.67 kB / 1.308 GB, free: 24.77 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.154, allocations: 0 / 1.308 GB, free: 24.77 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/1.154, allocations: 11.19 kB / 1.308 GB, free: 24.77 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/1.154, allocations: 11.62 kB / 1.308 GB, free: 24.76 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/1.155, allocations: 87.45 kB / 1.308 GB, free: 24.66 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/1.155, allocations: 0.6954 MB / 1.309 GB, free: 23.94 MB / 0.7293 GB Notification: Performance of SimCode: time 2.4e-07/1.155, allocations: 0 / 1.309 GB, free: 23.94 MB / 0.7293 GB Notification: Performance of Templates: time 0.003289/1.158, allocations: 1.023 MB / 1.31 GB, free: 22.97 MB / 0.7293 GB make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)