Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001195/0.001195, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 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.05892/0.05892, allocations: 12.06 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005416/0.0005414, allocations: 31.88 kB / 356.3 MB, free: 13.96 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.993/1.993, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 112.2 kB / 0.8935 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5837, allocations: 109.2 MB / 1 GB, free: 8.211 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005662/0.5894, allocations: 4.545 MB / 1.005 GB, free: 4.535 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0008666/0.5903, allocations: 0.828 MB / 1.005 GB, free: 3.863 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.5904, allocations: 1.188 kB / 1.005 GB, free: 3.863 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.5906, allocations: 29.02 kB / 1.005 GB, free: 3.84 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.56e-05/0.5906, allocations: 35.11 kB / 1.005 GB, free: 3.809 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.5911, allocations: 175 kB / 1.006 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.5913, allocations: 173.9 kB / 1.006 GB, free: 3.574 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.5914, allocations: 14.56 kB / 1.006 GB, free: 3.57 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.5915, allocations: 79.78 kB / 1.006 GB, free: 3.523 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.5916, allocations: 84.81 kB / 1.006 GB, free: 3.465 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.5916, allocations: 12.72 kB / 1.006 GB, free: 3.465 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.592, allocations: 153.7 kB / 1.006 GB, free: 3.391 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.592, allocations: 36.83 kB / 1.006 GB, free: 3.359 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.5921, allocations: 68.06 kB / 1.006 GB, free: 3.312 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.5924, allocations: 234.5 kB / 1.006 GB, free: 3.168 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5924, allocations: 0 / 1.006 GB, free: 3.168 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5924, allocations: 0.9688 kB / 1.006 GB, free: 3.168 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.5925, allocations: 3.938 kB / 1.006 GB, free: 3.164 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008378/0.5933, allocations: 479.6 kB / 1.007 GB, free: 2.715 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5933, allocations: 9.031 kB / 1.007 GB, free: 2.715 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.5934, allocations: 15.44 kB / 1.007 GB, free: 2.707 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.368e-05/0.5935, allocations: 187.2 kB / 1.007 GB, free: 2.492 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5935, allocations: 8.812 kB / 1.007 GB, free: 2.488 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5936, allocations: 15.19 kB / 1.007 GB, free: 2.48 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.5939, allocations: 120.7 kB / 1.007 GB, free: 2.398 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5939, allocations: 0 / 1.007 GB, free: 2.398 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.5939, allocations: 4.875 kB / 1.007 GB, free: 2.395 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5939, allocations: 2.344 kB / 1.007 GB, free: 2.395 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.5943, allocations: 143.6 kB / 1.007 GB, free: 2.328 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.5952, allocations: 458.6 kB / 1.008 GB, free: 1.914 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.5954, allocations: 133.1 kB / 1.008 GB, free: 1.832 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.5956, allocations: 68.56 kB / 1.008 GB, free: 1.797 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.5967, allocations: 0.9677 MB / 1.009 GB, free: 0.8008 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.5968, allocations: 31.66 kB / 1.009 GB, free: 0.7617 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.5968, allocations: 3.938 kB / 1.009 GB, free: 0.7578 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12): time 0.0006099/0.5974, allocations: 209.9 kB / 1.009 GB, free: 0.6445 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.5974, allocations: 57.34 kB / 1.009 GB, free: 0.5781 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5975, allocations: 168.6 kB / 1.009 GB, free: 452 kB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.5976, allocations: 30.61 kB / 1.009 GB, free: 416 kB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.5976, allocations: 108.5 kB / 1.01 GB, free: 304 kB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.5976, allocations: 36.52 kB / 1.01 GB, free: 272 kB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.5977, allocations: 52.88 kB / 1.01 GB, free: 232 kB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.5978, allocations: 322.3 kB / 1.01 GB, free: 15.91 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.598, allocations: 80.52 kB / 1.01 GB, free: 15.87 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5983, allocations: 116.3 kB / 1.01 GB, free: 15.79 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.5987, allocations: 171.8 kB / 1.01 GB, free: 15.69 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5987, allocations: 1.062 kB / 1.01 GB, free: 15.69 MB / 0.7013 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005563/0.5993, allocations: 242.9 kB / 1.011 GB, free: 15.56 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5993, allocations: 11.34 kB / 1.011 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5993, allocations: 5.344 kB / 1.011 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5993, allocations: 6.875 kB / 1.011 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.5996, allocations: 52.81 kB / 1.011 GB, free: 15.54 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5996, allocations: 5.047 kB / 1.011 GB, free: 15.53 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5998, allocations: 26.7 kB / 1.011 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.5998, allocations: 14.95 kB / 1.011 GB, free: 15.51 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.979e-05/0.5999, allocations: 127.2 kB / 1.011 GB, free: 15.38 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.6, allocations: 8.625 kB / 1.011 GB, free: 15.38 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.6004, allocations: 180.8 kB / 1.011 GB, free: 15.27 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6004, allocations: 3.938 kB / 1.011 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.6004, allocations: 1.281 kB / 1.011 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.6005, allocations: 101.4 kB / 1.011 GB, free: 15.15 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.6005, allocations: 9.281 kB / 1.011 GB, free: 15.14 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.6007, allocations: 11.02 kB / 1.011 GB, free: 15.14 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.6007, allocations: 8.922 kB / 1.011 GB, free: 15.13 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004774/0.6012, allocations: 240.1 kB / 1.011 GB, free: 14.96 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004506/0.6017, allocations: 337.5 kB / 1.012 GB, free: 14.69 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001744/0.6019, allocations: 61.28 kB / 1.012 GB, free: 14.66 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 7.556e-05/0.6019, allocations: 119.7 kB / 1.012 GB, free: 14.57 MB / 0.7013 GB Notification: Performance of Backend: time 4.41e-07/0.6019, allocations: 4 kB / 1.012 GB, free: 14.56 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0007728/0.6027, allocations: 257.3 kB / 1.012 GB, free: 14.41 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0006338/0.6034, allocations: 0.6743 MB / 1.013 GB, free: 13.76 MB / 0.7013 GB Notification: Performance of Templates: time 0.005912/0.6093, allocations: 3.022 MB / 1.016 GB, free: 12.22 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)