Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamProperties.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.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamProperties") translateModel(AixLib.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamProperties") [: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.93/1.93, allocations: 264.6 MB / 271.9 MB, free: 8.934 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.001205/0.001206, allocations: 183 kB / 329.3 MB, free: 488 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.657/1.657, allocations: 221.4 MB / 0.5937 GB, free: 14.63 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.001219/0.001219, allocations: 89.7 kB / 0.6989 GB, free: 2.773 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05135/0.05135, allocations: 11.9 MB / 0.8156 GB, free: 65.47 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.0004734/0.0004733, allocations: 19.95 kB / 0.9236 GB, free: 2.777 MB / 0.5887 GB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.815e-06, allocations: 224 / 1.039 GB, free: 106.7 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.9299, allocations: 110.2 MB / 1.146 GB, free: 6.453 MB / 0.5887 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/2.191, allocations: 444.8 MB / 1.581 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/2.192, allocations: 72.28 kB / 1.581 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.5004/2.692, allocations: 188 MB / 1.764 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.045e-05/2.692, allocations: 4 kB / 1.764 GB, free: 38.86 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.008928/2.701, allocations: 1.231 MB / 1.765 GB, free: 37.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/2.701, allocations: 16.77 kB / 1.765 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/2.703, allocations: 83.72 kB / 1.765 GB, free: 37.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/2.703, allocations: 230.8 kB / 1.766 GB, free: 37.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/2.703, allocations: 8 kB / 1.766 GB, free: 37.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/2.703, allocations: 8 kB / 1.766 GB, free: 37.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005829/2.704, allocations: 399.7 kB / 1.766 GB, free: 36.81 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/2.704, allocations: 208.7 kB / 1.766 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/2.704, allocations: 0 / 1.766 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/2.704, allocations: 4 kB / 1.766 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/2.704, allocations: 4 kB / 1.766 GB, free: 36.58 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/2.705, allocations: 0.8632 MB / 1.767 GB, free: 35.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/2.706, allocations: 138.4 kB / 1.767 GB, free: 35.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/2.706, allocations: 64.84 kB / 1.767 GB, free: 35.43 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6829/3.389, allocations: 48.34 MB / 1.815 GB, free: 299.1 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/3.389, allocations: 37.47 kB / 1.815 GB, free: 299.1 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=25): time 5.591e-06/3.389, allocations: 2.312 kB / 1.815 GB, free: 299.1 MB / 0.9012 GB Notification: Performance of matching and sorting (n=25): time 0.001348/3.39, allocations: 231.2 kB / 1.815 GB, free: 299.1 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/3.39, allocations: 58.83 kB / 1.815 GB, free: 299 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/3.39, allocations: 109.9 kB / 1.815 GB, free: 298.9 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/3.39, allocations: 25.7 kB / 1.815 GB, free: 298.9 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/3.391, allocations: 110.5 kB / 1.815 GB, free: 298.8 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/3.391, allocations: 84.36 kB / 1.815 GB, free: 298.8 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/3.391, allocations: 0 / 1.815 GB, free: 298.8 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/3.391, allocations: 324.1 kB / 1.815 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/3.391, allocations: 42.5 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/3.391, allocations: 83.09 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/3.391, allocations: 80.73 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/3.391, allocations: 0 / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008122/3.392, allocations: 249.4 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/3.392, allocations: 7.812 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/3.392, allocations: 3.875 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/3.392, allocations: 3.969 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/3.392, allocations: 63.38 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/3.392, allocations: 0 / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/3.393, allocations: 12.88 kB / 1.816 GB, free: 298.4 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/3.393, allocations: 13.34 kB / 1.816 GB, free: 298.4 MB / 0.9012 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.859e-05/3.393, allocations: 111 kB / 1.816 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/3.393, allocations: 72.3 kB / 1.816 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/3.394, allocations: 0.8067 MB / 1.817 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/3.394, allocations: 16.53 kB / 1.817 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/3.394, allocations: 3.938 kB / 1.817 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/3.394, allocations: 3.609 kB / 1.817 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/3.396, allocations: 1.149 MB / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/3.396, allocations: 2.531 kB / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/3.396, allocations: 41.77 kB / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/3.396, allocations: 3.969 kB / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/3.396, allocations: 10.7 kB / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/3.396, allocations: 7.625 kB / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/3.396, allocations: 0 / 1.818 GB, free: 297.9 MB / 0.9012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001391/3.398, allocations: 0.7451 MB / 1.819 GB, free: 297.7 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/3.398, allocations: 135.9 kB / 1.819 GB, free: 297.6 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/3.398, allocations: 3.969 kB / 1.819 GB, free: 297.6 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/3.398, allocations: 15.14 kB / 1.819 GB, free: 297.6 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/3.398, allocations: 14.53 kB / 1.819 GB, free: 297.6 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/3.398, allocations: 17.11 kB / 1.819 GB, free: 297.6 MB / 0.9012 GB Notification: Performance of sort global known variables: time 7.295e-05/3.398, allocations: 102.4 kB / 1.819 GB, free: 297.5 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.01043/3.409, allocations: 1.67 MB / 1.821 GB, free: 297.5 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01808/3.427, allocations: 2.693 MB / 1.823 GB, free: 297.3 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.0007077/3.427, allocations: 346.1 kB / 1.824 GB, free: 297.3 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/3.427, allocations: 3.656 kB / 1.824 GB, free: 297.3 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/3.428, allocations: 332.8 kB / 1.824 GB, free: 297.3 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/3.428, allocations: 43.33 kB / 1.824 GB, free: 297.3 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/3.429, allocations: 492 kB / 1.825 GB, free: 297.2 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/3.43, allocations: 0.8073 MB / 1.825 GB, free: 296.5 MB / 0.9012 GB Notification: Performance of SimCode: time 8.72e-07/3.43, allocations: 0 / 1.825 GB, free: 296.5 MB / 0.9012 GB Notification: Performance of Templates: time 0.06932/3.499, allocations: 44.36 MB / 1.869 GB, free: 295.9 MB / 0.9012 GB make -j1 -f AixLib_AixLib.Media.Examples.SteamProperties.makefile (rm -f AixLib_AixLib.Media.Examples.SteamProperties.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamProperties.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamProperties.sim & ./AixLib_AixLib.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamProperties.pipe 2>&1)