Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamDerivativeCheck") translateModel(AixLib.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamDerivativeCheck") [: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.894/1.894, allocations: 264.6 MB / 271.9 MB, free: 8.914 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.001291/0.001291, allocations: 189.2 kB / 329.3 MB, free: 476 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.632/1.632, allocations: 221.4 MB / 0.5937 GB, free: 14.55 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.001309/0.00131, allocations: 98.03 kB / 0.6989 GB, free: 2.688 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05485/0.05485, allocations: 11.89 MB / 0.8156 GB, free: 65.62 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.0004123/0.0004124, allocations: 15.5 kB / 0.9236 GB, free: 86.85 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.296e-06, allocations: 0 / 1.039 GB, free: 9.332 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3491, allocations: 110.2 MB / 1.146 GB, free: 11 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.909/2.258, allocations: 441.1 MB / 1.577 GB, free: 292.3 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/2.258, allocations: 68.66 kB / 1.577 GB, free: 292.3 MB / 0.9324 GB Notification: Performance of FrontEnd: time 0.1011/2.359, allocations: 35.93 MB / 1.612 GB, free: 287.4 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 1.013e-05/2.359, allocations: 0 / 1.612 GB, free: 287.4 MB / 0.9324 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.0005685/2.36, allocations: 376.7 kB / 1.612 GB, free: 287 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/2.36, allocations: 9.656 kB / 1.612 GB, free: 287 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/2.36, allocations: 10.84 kB / 1.612 GB, free: 287 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/2.36, allocations: 163 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/2.36, allocations: 3.281 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/2.36, allocations: 7.5 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/2.361, allocations: 13.94 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/2.361, allocations: 47.52 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/2.361, allocations: 4 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/2.361, allocations: 3.906 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/2.361, allocations: 3.25 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/2.361, allocations: 137.4 kB / 1.613 GB, free: 286.6 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/2.361, allocations: 37.47 kB / 1.613 GB, free: 286.6 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/2.361, allocations: 15.45 kB / 1.613 GB, free: 286.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/2.372, allocations: 3.092 MB / 1.616 GB, free: 285.8 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/2.372, allocations: 38.34 kB / 1.616 GB, free: 285.7 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=7): time 2.956e-06/2.372, allocations: 0 / 1.616 GB, free: 285.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=11): time 0.02739/2.399, allocations: 6.464 MB / 1.622 GB, free: 284.3 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/2.399, allocations: 56.09 kB / 1.622 GB, free: 284.2 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/2.4, allocations: 96.94 kB / 1.622 GB, free: 284.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/2.4, allocations: 25.7 kB / 1.622 GB, free: 284.1 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/2.4, allocations: 80.14 kB / 1.622 GB, free: 284 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/2.4, allocations: 38.11 kB / 1.623 GB, free: 284 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/2.4, allocations: 7.188 kB / 1.623 GB, free: 284 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001507/2.4, allocations: 316.7 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/2.4, allocations: 25.89 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/2.4, allocations: 16.47 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/2.4, allocations: 21.58 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/2.4, allocations: 7.438 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002614/2.4, allocations: 96.98 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/2.4, allocations: 5.906 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.4, allocations: 0 / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/2.4, allocations: 0.6562 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/2.401, allocations: 23.09 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/2.401, allocations: 3.938 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/2.401, allocations: 3.766 kB / 1.623 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/2.401, allocations: 3.734 kB / 1.623 GB, free: 283.6 MB / 0.9324 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 (14): * Single equations (assignments): 14 * 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 0.0001029/2.401, allocations: 113.2 kB / 1.623 GB, free: 283.4 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/2.401, allocations: 3.875 kB / 1.623 GB, free: 283.4 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/2.401, allocations: 137.8 kB / 1.623 GB, free: 283.4 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/2.401, allocations: 0 / 1.623 GB, free: 283.4 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/2.401, allocations: 0.7031 kB / 1.623 GB, free: 283.4 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/2.401, allocations: 0.7031 kB / 1.623 GB, free: 283.4 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/2.401, allocations: 142.1 kB / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/2.401, allocations: 3.938 kB / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/2.402, allocations: 23.97 kB / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/2.402, allocations: 7.062 kB / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/2.402, allocations: 0.75 kB / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/2.402, allocations: 3.938 kB / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.402, allocations: 0 / 1.623 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003145/2.402, allocations: 141.2 kB / 1.624 GB, free: 283.1 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/2.402, allocations: 95.02 kB / 1.624 GB, free: 283 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/2.402, allocations: 2.484 kB / 1.624 GB, free: 283 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/2.402, allocations: 24.84 kB / 1.624 GB, free: 283 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/2.402, allocations: 5.906 kB / 1.624 GB, free: 283 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/2.402, allocations: 4.688 kB / 1.624 GB, free: 283 MB / 0.9324 GB Notification: Performance of sort global known variables: time 4.055e-05/2.402, allocations: 86.97 kB / 1.624 GB, free: 282.9 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.003894/2.406, allocations: 0.5902 MB / 1.624 GB, free: 282.9 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.006846/2.413, allocations: 0.8272 MB / 1.625 GB, free: 282.6 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002385/2.414, allocations: 58.02 kB / 1.625 GB, free: 282.5 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/2.414, allocations: 0 / 1.625 GB, free: 282.5 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/2.414, allocations: 28.3 kB / 1.625 GB, free: 282.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/2.414, allocations: 3.969 kB / 1.625 GB, free: 282.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/2.415, allocations: 267.1 kB / 1.626 GB, free: 282.3 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/2.415, allocations: 0.7094 MB / 1.626 GB, free: 281.6 MB / 0.9324 GB Notification: Performance of SimCode: time 3.31e-07/2.415, allocations: 0 / 1.626 GB, free: 281.6 MB / 0.9324 GB Notification: Performance of Templates: time 0.07913/2.494, allocations: 28.24 MB / 1.654 GB, free: 268.4 MB / 0.9324 GB make -j1 -f AixLib_AixLib.Media.Examples.SteamDerivativeCheck.makefile (rm -f AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamDerivativeCheck.sim & ./AixLib_AixLib.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe 2>&1)