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.001273/0.001273, allocations: 108.2 kB / 16.41 MB, free: 6.387 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.001391/0.001391, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.232/1.232, allocations: 222.9 MB / 241 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.05343/0.05343, allocations: 12.04 MB / 303.2 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005102/0.0005103, allocations: 23.47 kB / 356.3 MB, free: 13.96 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.433/1.433, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 111.8 kB / 0.888 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4631, allocations: 108.4 MB / 0.9938 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006745/0.4699, allocations: 4.549 MB / 0.9983 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4712, allocations: 0.8264 MB / 0.9991 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.4713, allocations: 0 / 0.9991 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.4715, allocations: 31.77 kB / 0.9991 GB, free: 11.68 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.4716, allocations: 43.64 kB / 0.9992 GB, free: 11.64 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.4722, allocations: 167.4 kB / 0.9993 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.4724, allocations: 171.4 kB / 0.9995 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.4725, allocations: 25.09 kB / 0.9995 GB, free: 11.28 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.4727, allocations: 75.77 kB / 0.9996 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.4728, allocations: 79.66 kB / 0.9996 GB, free: 11.13 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.4728, allocations: 16 kB / 0.9997 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.4732, allocations: 151.8 kB / 0.9998 GB, free: 10.96 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.4733, allocations: 35.89 kB / 0.9998 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.4733, allocations: 67.61 kB / 0.9999 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.4738, allocations: 242 kB / 1 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4738, allocations: 4 kB / 1 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4738, allocations: 4 kB / 1 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.4738, allocations: 0 / 1 GB, free: 10.62 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.0008588/0.4747, allocations: 484.1 kB / 1.001 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4747, allocations: 12.03 kB / 1.001 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.4748, allocations: 16.84 kB / 1.001 GB, free: 10.08 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.4749, allocations: 184.1 kB / 1.001 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4749, allocations: 12.38 kB / 1.001 GB, free: 9.848 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.475, allocations: 4.375 kB / 1.001 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.4753, allocations: 121.7 kB / 1.001 GB, free: 9.719 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4753, allocations: 0 / 1.001 GB, free: 9.719 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4753, allocations: 4 kB / 1.001 GB, free: 9.715 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4753, allocations: 4 kB / 1.001 GB, free: 9.711 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.4757, allocations: 143.9 kB / 1.001 GB, free: 9.57 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.4766, allocations: 472.4 kB / 1.002 GB, free: 9.055 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.4769, allocations: 126.5 kB / 1.002 GB, free: 8.922 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.4771, allocations: 72.81 kB / 1.002 GB, free: 8.848 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.4784, allocations: 0.9683 MB / 1.003 GB, free: 7.742 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4784, allocations: 34.56 kB / 1.003 GB, free: 7.699 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.4784, allocations: 0 / 1.003 GB, free: 7.699 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12): time 0.0006243/0.4791, allocations: 213.4 kB / 1.003 GB, free: 7.484 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4791, allocations: 55.41 kB / 1.003 GB, free: 7.418 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4792, allocations: 157.5 kB / 1.003 GB, free: 7.258 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4793, allocations: 29.7 kB / 1.003 GB, free: 7.223 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.4793, allocations: 108.4 kB / 1.003 GB, free: 7.109 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4794, allocations: 47.64 kB / 1.003 GB, free: 7.062 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.4795, allocations: 45.7 kB / 1.003 GB, free: 7.012 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4796, allocations: 326.8 kB / 1.004 GB, free: 6.684 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.4798, allocations: 71.94 kB / 1.004 GB, free: 6.613 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.48, allocations: 115.2 kB / 1.004 GB, free: 6.488 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.4804, allocations: 178.7 kB / 1.004 GB, free: 6.305 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4805, allocations: 0 / 1.004 GB, free: 6.305 MB / 0.6857 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000538/0.481, allocations: 245.2 kB / 1.004 GB, free: 6.059 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.481, allocations: 10.5 kB / 1.004 GB, free: 6.051 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.481, allocations: 0 / 1.004 GB, free: 6.051 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.4811, allocations: 7.938 kB / 1.004 GB, free: 6.043 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.4813, allocations: 51.95 kB / 1.004 GB, free: 5.992 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4813, allocations: 3.938 kB / 1.004 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.4815, allocations: 39.86 kB / 1.004 GB, free: 5.949 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.4815, allocations: 11.94 kB / 1.004 GB, free: 5.938 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.0001022/0.4816, allocations: 117.8 kB / 1.004 GB, free: 5.812 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.4817, allocations: 11.94 kB / 1.004 GB, free: 5.801 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.4821, allocations: 174.9 kB / 1.005 GB, free: 5.629 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4822, allocations: 15.86 kB / 1.005 GB, free: 5.613 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4822, allocations: 0 / 1.005 GB, free: 5.613 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.4822, allocations: 101 kB / 1.005 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4823, allocations: 0 / 1.005 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.4824, allocations: 11.98 kB / 1.005 GB, free: 5.484 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.4825, allocations: 11.98 kB / 1.005 GB, free: 5.473 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004766/0.4829, allocations: 247.5 kB / 1.005 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004386/0.4834, allocations: 342.5 kB / 1.005 GB, free: 4.875 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001729/0.4836, allocations: 63.95 kB / 1.005 GB, free: 4.812 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.4837, allocations: 113.8 kB / 1.006 GB, free: 4.703 MB / 0.6857 GB Notification: Performance of Backend: time 4.3e-07/0.4837, allocations: 0 / 1.006 GB, free: 4.703 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007294/0.4844, allocations: 257 kB / 1.006 GB, free: 4.445 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006096/0.485, allocations: 0.6772 MB / 1.006 GB, free: 3.719 MB / 0.6857 GB Notification: Performance of Templates: time 0.006034/0.4911, allocations: 3.014 MB / 1.009 GB, free: 0.7383 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)