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.001621/0.001621, allocations: 117.8 kB / 16.42 MB, free: 6.48 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.001901/0.001901, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.34/1.34, 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.05849/0.05849, allocations: 12.04 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.0005137/0.0005137, allocations: 23.95 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.885/1.885, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 107.8 kB / 0.8935 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5139, allocations: 109.2 MB / 1 GB, free: 8.199 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005096/0.5191, allocations: 4.544 MB / 1.005 GB, free: 4.527 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.52, allocations: 0.8238 MB / 1.005 GB, free: 3.859 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.5201, allocations: 5.5 kB / 1.005 GB, free: 3.855 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.5203, allocations: 32.8 kB / 1.005 GB, free: 3.828 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.5203, allocations: 32.02 kB / 1.005 GB, free: 3.801 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.5208, allocations: 175.9 kB / 1.006 GB, free: 3.668 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.521, allocations: 170.7 kB / 1.006 GB, free: 3.57 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.5211, allocations: 21.78 kB / 1.006 GB, free: 3.559 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.5212, allocations: 72.73 kB / 1.006 GB, free: 3.52 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.5213, allocations: 87.75 kB / 1.006 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.5214, allocations: 12.53 kB / 1.006 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.5217, allocations: 154.4 kB / 1.006 GB, free: 3.383 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.5217, allocations: 36.3 kB / 1.006 GB, free: 3.352 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.5218, allocations: 67.41 kB / 1.006 GB, free: 3.305 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.5221, allocations: 231.5 kB / 1.006 GB, free: 3.16 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5222, allocations: 1.156 kB / 1.006 GB, free: 3.16 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5222, allocations: 0 / 1.006 GB, free: 3.16 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5222, allocations: 0 / 1.006 GB, free: 3.16 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.0007464/0.5229, allocations: 488.4 kB / 1.007 GB, free: 2.703 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.523, allocations: 8.844 kB / 1.007 GB, free: 2.703 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.523, allocations: 14.69 kB / 1.007 GB, free: 2.695 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.5231, allocations: 191.5 kB / 1.007 GB, free: 2.477 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5231, allocations: 8.844 kB / 1.007 GB, free: 2.473 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5232, allocations: 11.53 kB / 1.007 GB, free: 2.469 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.5235, allocations: 129.8 kB / 1.007 GB, free: 2.379 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5235, allocations: 0 / 1.007 GB, free: 2.379 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5235, allocations: 5 kB / 1.007 GB, free: 2.375 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5235, allocations: 2.125 kB / 1.007 GB, free: 2.375 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.5239, allocations: 139.5 kB / 1.007 GB, free: 2.312 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.5248, allocations: 471 kB / 1.008 GB, free: 1.887 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.5251, allocations: 125.1 kB / 1.008 GB, free: 1.812 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.5252, allocations: 75.98 kB / 1.008 GB, free: 1.77 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5264, allocations: 0.9673 MB / 1.009 GB, free: 0.7734 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5264, allocations: 35.97 kB / 1.009 GB, free: 0.7305 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.5264, allocations: 0 / 1.009 GB, free: 0.7305 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12): time 0.0006122/0.527, allocations: 214.2 kB / 1.009 GB, free: 0.6133 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.578e-05/0.5271, allocations: 54.09 kB / 1.009 GB, free: 0.5508 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.5272, allocations: 160.1 kB / 1.009 GB, free: 432 kB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.5272, allocations: 30.89 kB / 1.009 GB, free: 396 kB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.5273, allocations: 112.4 kB / 1.01 GB, free: 280 kB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.5273, allocations: 41.48 kB / 1.01 GB, free: 244 kB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.5273, allocations: 47.33 kB / 1.01 GB, free: 208 kB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5275, allocations: 321.9 kB / 1.01 GB, free: 15.88 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5277, allocations: 77.59 kB / 1.01 GB, free: 15.85 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.5279, allocations: 122.2 kB / 1.01 GB, free: 15.76 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.5283, allocations: 164.2 kB / 1.01 GB, free: 15.67 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5284, allocations: 4 kB / 1.01 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005535/0.5289, allocations: 245.3 kB / 1.011 GB, free: 15.54 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5289, allocations: 4.531 kB / 1.011 GB, free: 15.54 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5289, allocations: 1.25 kB / 1.011 GB, free: 15.54 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.529, allocations: 6.406 kB / 1.011 GB, free: 15.53 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.5293, allocations: 64.42 kB / 1.011 GB, free: 15.51 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5293, allocations: 2.188 kB / 1.011 GB, free: 15.51 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.5294, allocations: 30.77 kB / 1.011 GB, free: 15.49 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.5295, allocations: 10.59 kB / 1.011 GB, free: 15.48 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.923e-05/0.5296, allocations: 127.5 kB / 1.011 GB, free: 15.36 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.5296, allocations: 8.391 kB / 1.011 GB, free: 15.35 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.5301, allocations: 181.8 kB / 1.011 GB, free: 15.24 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5301, allocations: 7.875 kB / 1.011 GB, free: 15.23 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5301, allocations: 1.469 kB / 1.011 GB, free: 15.23 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.5302, allocations: 92.64 kB / 1.011 GB, free: 15.13 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.5302, allocations: 1.156 kB / 1.011 GB, free: 15.13 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5303, allocations: 16.36 kB / 1.011 GB, free: 15.12 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.5304, allocations: 7.828 kB / 1.011 GB, free: 15.12 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004896/0.5309, allocations: 251.2 kB / 1.011 GB, free: 14.94 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004506/0.5314, allocations: 338.5 kB / 1.012 GB, free: 14.66 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001895/0.5316, allocations: 64.94 kB / 1.012 GB, free: 14.63 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.5317, allocations: 122.9 kB / 1.012 GB, free: 14.53 MB / 0.7013 GB Notification: Performance of Backend: time 6.01e-07/0.5317, allocations: 0 / 1.012 GB, free: 14.53 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.5325, allocations: 248 kB / 1.012 GB, free: 14.39 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0006995/0.5332, allocations: 0.6742 MB / 1.013 GB, free: 13.74 MB / 0.7013 GB Notification: Performance of Templates: time 0.006224/0.5394, allocations: 3.019 MB / 1.016 GB, free: 12.2 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)