Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001016/0.001016, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.0009751/0.0009751, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.238/1.238, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.054/0.054, allocations: 12.04 MB / 303.2 MB, free: 3.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004441/0.0004444, allocations: 31.94 kB / 356.3 MB, free: 14 MB / 302.1 MB [/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/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.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/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/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_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/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/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/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/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.3.2/package.mo): time 1.435/1.435, allocations: 268.3 MB / 0.6618 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 115.8 kB / 0.888 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.476, allocations: 108.4 MB / 0.9939 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005339/0.4814, allocations: 4.544 MB / 0.9983 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.4824, allocations: 0.8264 MB / 0.9991 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.4825, allocations: 4 kB / 0.9991 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.4826, allocations: 31.77 kB / 0.9991 GB, free: 11.68 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.4827, allocations: 35.7 kB / 0.9992 GB, free: 11.64 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.4831, allocations: 171.3 kB / 0.9993 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.4833, allocations: 175.4 kB / 0.9995 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.4834, allocations: 21.09 kB / 0.9995 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.4836, allocations: 75.77 kB / 0.9996 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.4837, allocations: 87.66 kB / 0.9997 GB, free: 11.12 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.4837, allocations: 12 kB / 0.9997 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.484, allocations: 151.8 kB / 0.9998 GB, free: 10.96 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.4841, allocations: 31.89 kB / 0.9999 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.4841, allocations: 71.66 kB / 0.9999 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.4844, allocations: 234.2 kB / 1 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4845, allocations: 0 / 1 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4845, allocations: 7.938 kB / 1 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.4845, allocations: 0 / 1 GB, free: 10.63 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.0007887/0.4853, allocations: 480.7 kB / 1.001 GB, free: 10.12 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4853, allocations: 8.031 kB / 1.001 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.4854, allocations: 20.75 kB / 1.001 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4855, allocations: 190.1 kB / 1.001 GB, free: 9.867 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4855, allocations: 8.375 kB / 1.001 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.4855, allocations: 12.38 kB / 1.001 GB, free: 9.848 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.4858, allocations: 119.9 kB / 1.001 GB, free: 9.727 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4859, allocations: 4 kB / 1.001 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4859, allocations: 0 / 1.001 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4859, allocations: 0 / 1.001 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.4863, allocations: 139.9 kB / 1.001 GB, free: 9.586 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.4872, allocations: 472.4 kB / 1.002 GB, free: 9.07 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.4875, allocations: 122.5 kB / 1.002 GB, free: 8.941 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.4877, allocations: 72.8 kB / 1.002 GB, free: 8.867 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.489, allocations: 0.9726 MB / 1.003 GB, free: 7.758 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.489, allocations: 30.56 kB / 1.003 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.489, allocations: 0 / 1.003 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12): time 0.0006862/0.4897, allocations: 222.3 kB / 1.003 GB, free: 7.496 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.4898, allocations: 51.41 kB / 1.003 GB, free: 7.434 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4899, allocations: 161.4 kB / 1.003 GB, free: 7.27 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4899, allocations: 29.7 kB / 1.003 GB, free: 7.234 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.49, allocations: 112.3 kB / 1.003 GB, free: 7.117 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.49, allocations: 35.45 kB / 1.003 GB, free: 7.082 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.4901, allocations: 49.7 kB / 1.003 GB, free: 7.027 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.4902, allocations: 326.8 kB / 1.004 GB, free: 6.699 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.4904, allocations: 79.94 kB / 1.004 GB, free: 6.621 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.4907, allocations: 105.5 kB / 1.004 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.4911, allocations: 178.5 kB / 1.004 GB, free: 6.324 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4911, allocations: 0 / 1.004 GB, free: 6.324 MB / 0.6857 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005841/0.4917, allocations: 245.2 kB / 1.004 GB, free: 6.078 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4917, allocations: 4 kB / 1.004 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4917, allocations: 3.938 kB / 1.004 GB, free: 6.07 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4917, allocations: 7.938 kB / 1.004 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.492, allocations: 51.95 kB / 1.004 GB, free: 6.012 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.492, allocations: 8 kB / 1.004 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.4922, allocations: 27.73 kB / 1.004 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.4922, allocations: 16.09 kB / 1.004 GB, free: 5.961 MB / 0.6857 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 0.0001014/0.4923, allocations: 125.8 kB / 1.004 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4923, allocations: 11.91 kB / 1.004 GB, free: 5.816 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.4928, allocations: 181.6 kB / 1.005 GB, free: 5.641 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4928, allocations: 7.922 kB / 1.005 GB, free: 5.633 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4928, allocations: 4 kB / 1.005 GB, free: 5.629 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.4929, allocations: 100.9 kB / 1.005 GB, free: 5.512 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4929, allocations: 0 / 1.005 GB, free: 5.512 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4931, allocations: 15.98 kB / 1.005 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4931, allocations: 7.984 kB / 1.005 GB, free: 5.488 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004911/0.4936, allocations: 244.8 kB / 1.005 GB, free: 5.242 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004955/0.4941, allocations: 334.5 kB / 1.005 GB, free: 4.898 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001814/0.4943, allocations: 67.94 kB / 1.005 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.4944, allocations: 117.8 kB / 1.006 GB, free: 4.719 MB / 0.6857 GB Notification: Performance of Backend: time 3.01e-07/0.4944, allocations: 0 / 1.006 GB, free: 4.719 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.4951, allocations: 249.6 kB / 1.006 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of SimCode: time 0.000628/0.4958, allocations: 0.6844 MB / 1.006 GB, free: 3.738 MB / 0.6857 GB Notification: Performance of Templates: time 0.006054/0.5018, allocations: 3.017 MB / 1.009 GB, free: 0.7539 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)