Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 117.6 kB / 16.42 MB, free: 6.504 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.001078/0.001078, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.296/1.296, allocations: 222.9 MB / 241.1 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.057/0.057, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005087/0.0005089, allocations: 27.95 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.836/1.836, allocations: 272.3 MB / 0.6657 GB, free: 18.29 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 111.8 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4869, allocations: 109.1 MB / 1 GB, free: 8.359 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004498/0.4914, allocations: 4.01 MB / 1.004 GB, free: 5.098 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0001656/0.4916, allocations: 149.4 kB / 1.004 GB, free: 4.98 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.4917, allocations: 3.938 kB / 1.004 GB, free: 4.977 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.622e-05/0.4918, allocations: 5.156 kB / 1.004 GB, free: 4.973 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.4918, allocations: 18.09 kB / 1.004 GB, free: 4.957 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.4922, allocations: 79.78 kB / 1.004 GB, free: 4.902 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.4922, allocations: 36.84 kB / 1.004 GB, free: 4.883 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.4923, allocations: 2.781 kB / 1.004 GB, free: 4.883 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.4923, allocations: 16.36 kB / 1.004 GB, free: 4.875 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.4924, allocations: 14.95 kB / 1.004 GB, free: 4.867 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.4924, allocations: 1.062 kB / 1.004 GB, free: 4.867 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.4926, allocations: 57.19 kB / 1.004 GB, free: 4.836 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.4926, allocations: 10.11 kB / 1.004 GB, free: 4.828 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.4927, allocations: 12.67 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.4928, allocations: 45.39 kB / 1.004 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4928, allocations: 1.156 kB / 1.004 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4928, allocations: 0 / 1.004 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.4928, allocations: 0 / 1.004 GB, free: 4.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002797/0.4931, allocations: 340.8 kB / 1.005 GB, free: 4.434 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4931, allocations: 8.5 kB / 1.005 GB, free: 4.434 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.4932, allocations: 6.141 kB / 1.005 GB, free: 4.43 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.356e-05/0.4933, allocations: 161.3 kB / 1.005 GB, free: 4.234 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.4933, allocations: 28.64 kB / 1.005 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.4933, allocations: 5.375 kB / 1.005 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4935, allocations: 47.42 kB / 1.005 GB, free: 4.156 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4935, allocations: 0 / 1.005 GB, free: 4.156 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4935, allocations: 12.97 kB / 1.005 GB, free: 4.145 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.4935, allocations: 5.25 kB / 1.005 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.4935, allocations: 8.656 kB / 1.005 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.4939, allocations: 333.6 kB / 1.005 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 2.888e-05/0.4939, allocations: 20.73 kB / 1.005 GB, free: 3.734 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.4939, allocations: 14.12 kB / 1.005 GB, free: 3.719 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/0.494, allocations: 81.52 kB / 1.005 GB, free: 3.625 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.494, allocations: 40.88 kB / 1.006 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.494, allocations: 0 / 1.006 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.4941, allocations: 35.88 kB / 1.006 GB, free: 3.543 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.337e-05/0.4942, allocations: 51.41 kB / 1.006 GB, free: 3.48 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.4942, allocations: 104.3 kB / 1.006 GB, free: 3.375 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.4942, allocations: 25.7 kB / 1.006 GB, free: 3.344 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.4943, allocations: 89.19 kB / 1.006 GB, free: 3.254 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.4943, allocations: 9.25 kB / 1.006 GB, free: 3.246 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.4943, allocations: 17.56 kB / 1.006 GB, free: 3.227 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.4943, allocations: 319.8 kB / 1.006 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.4944, allocations: 2.281 kB / 1.006 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.4944, allocations: 24.92 kB / 1.006 GB, free: 2.879 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.4944, allocations: 16.47 kB / 1.006 GB, free: 2.863 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4944, allocations: 4 kB / 1.006 GB, free: 2.859 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.535e-05/0.4945, allocations: 50.88 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4945, allocations: 5.5 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4945, allocations: 1.031 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4945, allocations: 1.312 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.848e-05/0.4946, allocations: 4.438 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4946, allocations: 0 / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.4946, allocations: 1.188 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4946, allocations: 6.234 kB / 1.006 GB, free: 2.812 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.31e-05/0.4947, allocations: 124.7 kB / 1.006 GB, free: 2.684 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.4947, allocations: 5.156 kB / 1.006 GB, free: 2.68 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.4948, allocations: 116.2 kB / 1.006 GB, free: 2.562 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4948, allocations: 181.4 kB / 1.007 GB, free: 2.379 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.4948, allocations: 108.9 kB / 1.007 GB, free: 2.266 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.4948, allocations: 179.6 kB / 1.007 GB, free: 2.066 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.4949, allocations: 185.5 kB / 1.007 GB, free: 1.879 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.495, allocations: 116.5 kB / 1.007 GB, free: 1.762 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.495, allocations: 181.3 kB / 1.007 GB, free: 1.578 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.794e-05/0.4951, allocations: 260.6 kB / 1.008 GB, free: 1.316 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.142e-05/0.4952, allocations: 383.5 kB / 1.008 GB, free: 0.9219 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.69e-05/0.4952, allocations: 102 kB / 1.008 GB, free: 0.8164 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.753e-05/0.4952, allocations: 84.88 kB / 1.008 GB, free: 0.7383 MB / 0.6857 GB Notification: Performance of Backend: time 1.81e-07/0.4952, allocations: 0 / 1.008 GB, free: 0.7383 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.4956, allocations: 113.4 kB / 1.008 GB, free: 0.6562 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003608/0.496, allocations: 0.8537 MB / 1.009 GB, free: 15.77 MB / 0.7013 GB Notification: Performance of Templates: time 0.002359/0.4984, allocations: 0.5541 MB / 1.01 GB, free: 15.48 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)