Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 112 kB / 16.42 MB, free: 6.512 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.0009764/0.0009764, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.177/1.177, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.05206/0.05206, allocations: 12.04 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004611/0.0004611, allocations: 31.94 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.351/1.351, allocations: 268.3 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 111.8 kB / 0.888 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4529, allocations: 108.4 MB / 0.9939 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.002267/0.4552, allocations: 1.748 MB / 0.9956 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.4566, allocations: 1.417 MB / 0.997 GB, free: 9.41 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.4567, allocations: 1.438 kB / 0.997 GB, free: 9.41 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.4568, allocations: 28.47 kB / 0.997 GB, free: 9.387 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.4571, allocations: 72.67 kB / 0.9971 GB, free: 9.332 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.4574, allocations: 170 kB / 0.9972 GB, free: 9.219 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.4576, allocations: 265.6 kB / 0.9975 GB, free: 9.062 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.4577, allocations: 34.86 kB / 0.9975 GB, free: 9.047 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.4578, allocations: 93.16 kB / 0.9976 GB, free: 8.996 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.458, allocations: 111.1 kB / 0.9977 GB, free: 8.926 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.458, allocations: 18.44 kB / 0.9977 GB, free: 8.926 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.4582, allocations: 105.8 kB / 0.9978 GB, free: 8.887 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.4583, allocations: 87.05 kB / 0.9979 GB, free: 8.832 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.4584, allocations: 111.7 kB / 0.998 GB, free: 8.75 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.4586, allocations: 316.6 kB / 0.9983 GB, free: 8.539 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.4587, allocations: 0 / 0.9983 GB, free: 8.539 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4587, allocations: 0 / 0.9983 GB, free: 8.539 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4587, allocations: 0 / 0.9983 GB, free: 8.539 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005658/0.4592, allocations: 0.5628 MB / 0.9989 GB, free: 8.012 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4593, allocations: 16.45 kB / 0.9989 GB, free: 8.004 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.4597, allocations: 63.03 kB / 0.9989 GB, free: 7.977 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.46, allocations: 281.1 kB / 0.9992 GB, free: 7.691 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.46, allocations: 15.22 kB / 0.9992 GB, free: 7.684 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.46, allocations: 16.06 kB / 0.9992 GB, free: 7.68 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.4604, allocations: 248.9 kB / 0.9995 GB, free: 7.508 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4605, allocations: 0 / 0.9995 GB, free: 7.508 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4605, allocations: 9.406 kB / 0.9995 GB, free: 7.5 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4605, allocations: 8.281 kB / 0.9995 GB, free: 7.496 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.4614, allocations: 0.7783 MB / 1 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.4622, allocations: 0.6265 MB / 1.001 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.4628, allocations: 349.2 kB / 1.001 GB, free: 6.441 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.4631, allocations: 123.8 kB / 1.001 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.4631, allocations: 20.97 kB / 1.001 GB, free: 6.367 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.4635, allocations: 195.1 kB / 1.002 GB, free: 6.234 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.4635, allocations: 4 kB / 1.002 GB, free: 6.23 MB / 0.6857 GB Notification: Performance of matching and sorting (n=35): time 0.0008374/0.4643, allocations: 415.2 kB / 1.002 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4644, allocations: 136.1 kB / 1.002 GB, free: 5.875 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.4646, allocations: 313.4 kB / 1.002 GB, free: 5.684 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4646, allocations: 35.77 kB / 1.002 GB, free: 5.645 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.4647, allocations: 130.8 kB / 1.003 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.4647, allocations: 120.8 kB / 1.003 GB, free: 5.418 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.4648, allocations: 66.97 kB / 1.003 GB, free: 5.375 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.4649, allocations: 334.1 kB / 1.003 GB, free: 5.047 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.4651, allocations: 96.12 kB / 1.003 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4653, allocations: 146 kB / 1.003 GB, free: 4.914 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.4657, allocations: 239.2 kB / 1.003 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4657, allocations: 4 kB / 1.003 GB, free: 4.797 MB / 0.6857 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005408/0.4663, allocations: 309 kB / 1.004 GB, free: 4.645 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.4663, allocations: 4.531 kB / 1.004 GB, free: 4.645 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4663, allocations: 1.094 kB / 1.004 GB, free: 4.645 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4663, allocations: 1.125 kB / 1.004 GB, free: 4.645 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.4666, allocations: 71.11 kB / 1.004 GB, free: 4.625 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.4666, allocations: 10.03 kB / 1.004 GB, free: 4.617 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.4668, allocations: 30.98 kB / 1.004 GB, free: 4.598 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.4668, allocations: 12.33 kB / 1.004 GB, free: 4.594 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (timCon.tNext,$PRE.timCon.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001142/0.467, allocations: 162.3 kB / 1.004 GB, free: 4.449 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.467, allocations: 24.56 kB / 1.004 GB, free: 4.438 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.4678, allocations: 424.8 kB / 1.004 GB, free: 4.191 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4678, allocations: 3.984 kB / 1.004 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4678, allocations: 1.219 kB / 1.004 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4679, allocations: 151.2 kB / 1.005 GB, free: 4.039 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.468, allocations: 14.17 kB / 1.005 GB, free: 4.027 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.4681, allocations: 24.52 kB / 1.005 GB, free: 4.012 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.4682, allocations: 24.44 kB / 1.005 GB, free: 4 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006507/0.4689, allocations: 410 kB / 1.005 GB, free: 3.754 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005725/0.4694, allocations: 0.4918 MB / 1.006 GB, free: 3.402 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002202/0.4697, allocations: 130.2 kB / 1.006 GB, free: 3.34 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001514/0.4698, allocations: 242.9 kB / 1.006 GB, free: 3.188 MB / 0.6857 GB Notification: Performance of Backend: time 3.21e-07/0.4698, allocations: 0 / 1.006 GB, free: 3.188 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.4714, allocations: 0.6667 MB / 1.007 GB, free: 2.938 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006011/0.472, allocations: 0.8758 MB / 1.007 GB, free: 2.184 MB / 0.6857 GB Notification: Performance of Templates: time 0.006759/0.4787, allocations: 4.64 MB / 1.012 GB, free: 15.86 MB / 0.7013 GB make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)