Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.WaterProperties") translateModel(AixLib.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 106.9 kB / 16.41 MB, free: 5.918 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.001218/0.001218, allocations: 191 kB / 17.35 MB, free: 5.555 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.05998/0.05998, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005255/0.0005255, allocations: 19.97 kB / 356.3 MB, free: 13.97 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.871/1.871, allocations: 272.3 MB / 0.6657 GB, free: 18.39 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 107.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4712, allocations: 109.1 MB / 1 GB, free: 8.172 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterProperties): time 0.004467/0.4757, allocations: 4.713 MB / 1.005 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.4777, allocations: 2.71 MB / 1.007 GB, free: 2.141 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.4778, allocations: 2.312 kB / 1.007 GB, free: 2.141 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.478, allocations: 46.7 kB / 1.007 GB, free: 2.102 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.4783, allocations: 92.66 kB / 1.008 GB, free: 2.027 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.4792, allocations: 0.5076 MB / 1.008 GB, free: 1.656 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.4794, allocations: 235.9 kB / 1.008 GB, free: 1.531 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.4795, allocations: 9.594 kB / 1.008 GB, free: 1.531 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.4796, allocations: 122.7 kB / 1.008 GB, free: 1.469 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.4798, allocations: 89.14 kB / 1.008 GB, free: 1.418 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.4798, allocations: 8 kB / 1.008 GB, free: 1.418 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.4804, allocations: 371.6 kB / 1.009 GB, free: 1.211 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.4805, allocations: 38.86 kB / 1.009 GB, free: 1.184 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.4806, allocations: 75.52 kB / 1.009 GB, free: 1.145 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.4811, allocations: 363.3 kB / 1.009 GB, free: 0.9492 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4811, allocations: 5.375 kB / 1.009 GB, free: 0.9453 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4811, allocations: 0 / 1.009 GB, free: 0.9453 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4811, allocations: 0 / 1.009 GB, free: 0.9453 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005737/0.4817, allocations: 0.5058 MB / 1.01 GB, free: 472 kB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.4817, allocations: 8.094 kB / 1.01 GB, free: 472 kB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.4819, allocations: 25.7 kB / 1.01 GB, free: 460 kB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4821, allocations: 213.5 kB / 1.01 GB, free: 220 kB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4821, allocations: 10.98 kB / 1.01 GB, free: 216 kB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.4821, allocations: 14.66 kB / 1.01 GB, free: 212 kB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.4825, allocations: 250.3 kB / 1.01 GB, free: 32 kB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4825, allocations: 0 / 1.01 GB, free: 32 kB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4825, allocations: 11.31 kB / 1.01 GB, free: 24 kB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.4825, allocations: 9.438 kB / 1.01 GB, free: 20 kB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.483, allocations: 429.3 kB / 1.011 GB, free: 15.83 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4841, allocations: 0.9493 MB / 1.012 GB, free: 14.9 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.4844, allocations: 158.2 kB / 1.012 GB, free: 14.82 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4845, allocations: 65.19 kB / 1.012 GB, free: 14.79 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.4859, allocations: 1.831 MB / 1.014 GB, free: 12.69 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4859, allocations: 45.59 kB / 1.014 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.4859, allocations: 0 / 1.014 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of matching and sorting (n=15): time 0.0003342/0.4862, allocations: 145.8 kB / 1.014 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.4863, allocations: 56.62 kB / 1.014 GB, free: 12.5 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4864, allocations: 169.3 kB / 1.014 GB, free: 12.36 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4865, allocations: 31.11 kB / 1.014 GB, free: 12.32 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.4865, allocations: 148.3 kB / 1.014 GB, free: 12.18 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.4866, allocations: 54.75 kB / 1.014 GB, free: 12.14 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.4867, allocations: 52.84 kB / 1.014 GB, free: 12.1 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4868, allocations: 325.2 kB / 1.015 GB, free: 11.77 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.4869, allocations: 34.27 kB / 1.015 GB, free: 11.76 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.487, allocations: 142.2 kB / 1.015 GB, free: 11.61 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.4872, allocations: 199.4 kB / 1.015 GB, free: 11.42 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4872, allocations: 2.562 kB / 1.015 GB, free: 11.42 MB / 0.7013 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003321/0.4876, allocations: 224.4 kB / 1.015 GB, free: 11.29 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4876, allocations: 6.594 kB / 1.015 GB, free: 11.29 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4876, allocations: 4.344 kB / 1.015 GB, free: 11.29 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4876, allocations: 4.719 kB / 1.015 GB, free: 11.29 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4878, allocations: 56.72 kB / 1.015 GB, free: 11.28 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4878, allocations: 8.562 kB / 1.015 GB, free: 11.27 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.488, allocations: 26.06 kB / 1.015 GB, free: 11.26 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.488, allocations: 18.09 kB / 1.015 GB, free: 11.25 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.719e-05/0.4881, allocations: 127 kB / 1.015 GB, free: 11.12 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.4881, allocations: 20.67 kB / 1.015 GB, free: 11.11 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.4884, allocations: 153.7 kB / 1.016 GB, free: 11.02 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4884, allocations: 0 / 1.016 GB, free: 11.02 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4884, allocations: 3.938 kB / 1.016 GB, free: 11.02 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.4885, allocations: 109.9 kB / 1.016 GB, free: 10.9 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.4886, allocations: 5.547 kB / 1.016 GB, free: 10.89 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.4888, allocations: 19.3 kB / 1.016 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.4888, allocations: 9.734 kB / 1.016 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002072/0.489, allocations: 196.3 kB / 1.016 GB, free: 10.73 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002398/0.4893, allocations: 297.1 kB / 1.016 GB, free: 10.48 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.341e-05/0.4893, allocations: 39.16 kB / 1.016 GB, free: 10.46 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 7.804e-05/0.4894, allocations: 118 kB / 1.016 GB, free: 10.37 MB / 0.7013 GB Notification: Performance of Backend: time 4.6e-07/0.4894, allocations: 7.938 kB / 1.016 GB, free: 10.36 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0007827/0.4902, allocations: 346.3 kB / 1.017 GB, free: 10.17 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0007152/0.4909, allocations: 0.7943 MB / 1.017 GB, free: 9.449 MB / 0.7013 GB Notification: Performance of Templates: time 0.0083/0.4993, allocations: 4.72 MB / 1.022 GB, free: 7.023 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.WaterProperties.makefile (rm -f AixLib_latest_AixLib.Media.Examples.WaterProperties.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.WaterProperties.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.WaterProperties.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.WaterProperties.sim & ./AixLib_latest_AixLib.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.WaterProperties.pipe 2>&1)