Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.6 kB / 16.42 MB, free: 6.5 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.001101/0.001101, allocations: 187.9 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.189/1.189, allocations: 222.9 MB / 241.1 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.05245/0.05246, allocations: 12.04 MB / 303.2 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004369/0.0004369, allocations: 23.95 kB / 356.3 MB, free: 13.99 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.368/1.368, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 107.8 kB / 0.888 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.432, allocations: 108.4 MB / 0.9939 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002334/0.4343, allocations: 1.764 MB / 0.9956 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.4361, allocations: 1.751 MB / 0.9973 GB, free: 9.156 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.4362, allocations: 5.188 kB / 0.9973 GB, free: 9.152 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.4363, allocations: 23.81 kB / 0.9973 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.4366, allocations: 68.22 kB / 0.9974 GB, free: 9.082 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.437, allocations: 187.4 kB / 0.9976 GB, free: 8.961 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.4372, allocations: 245.8 kB / 0.9978 GB, free: 8.816 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.4373, allocations: 22.61 kB / 0.9978 GB, free: 8.809 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.4374, allocations: 91.56 kB / 0.9979 GB, free: 8.758 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.4376, allocations: 89.08 kB / 0.998 GB, free: 8.703 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.4376, allocations: 16.78 kB / 0.998 GB, free: 8.703 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.4378, allocations: 138.9 kB / 0.9981 GB, free: 8.645 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.4379, allocations: 85.62 kB / 0.9982 GB, free: 8.59 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.438, allocations: 108.4 kB / 0.9983 GB, free: 8.508 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.4383, allocations: 335 kB / 0.9986 GB, free: 8.285 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4383, allocations: 0 / 0.9986 GB, free: 8.285 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4383, allocations: 0 / 0.9986 GB, free: 8.285 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4383, allocations: 0 / 0.9986 GB, free: 8.285 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005832/0.4389, allocations: 0.5487 MB / 0.9992 GB, free: 7.77 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.439, allocations: 8.406 kB / 0.9992 GB, free: 7.77 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.4391, allocations: 34.83 kB / 0.9992 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4393, allocations: 260.1 kB / 0.9995 GB, free: 7.484 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4393, allocations: 22.94 kB / 0.9995 GB, free: 7.469 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4394, allocations: 18 kB / 0.9995 GB, free: 7.461 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.4397, allocations: 209.4 kB / 0.9997 GB, free: 7.312 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4397, allocations: 0 / 0.9997 GB, free: 7.312 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.4397, allocations: 10.34 kB / 0.9997 GB, free: 7.305 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4397, allocations: 7.547 kB / 0.9997 GB, free: 7.301 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.4404, allocations: 0.7356 MB / 1 GB, free: 6.965 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.4411, allocations: 0.5767 MB / 1.001 GB, free: 6.469 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.4415, allocations: 309.2 kB / 1.001 GB, free: 6.324 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.4417, allocations: 103.9 kB / 1.001 GB, free: 6.273 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.4422, allocations: 463.2 kB / 1.002 GB, free: 5.766 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.4424, allocations: 176.1 kB / 1.002 GB, free: 5.645 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.4425, allocations: 3.984 kB / 1.002 GB, free: 5.641 MB / 0.6857 GB Notification: Performance of matching and sorting (n=35): time 0.000584/0.443, allocations: 378.7 kB / 1.002 GB, free: 5.461 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.4431, allocations: 131.9 kB / 1.002 GB, free: 5.305 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.4433, allocations: 308 kB / 1.003 GB, free: 5.117 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4433, allocations: 36.08 kB / 1.003 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.4434, allocations: 125.3 kB / 1.003 GB, free: 4.957 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.4435, allocations: 109.4 kB / 1.003 GB, free: 4.863 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.4435, allocations: 70.47 kB / 1.003 GB, free: 4.816 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.4436, allocations: 342.8 kB / 1.003 GB, free: 4.48 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4437, allocations: 84.11 kB / 1.004 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4439, allocations: 129.9 kB / 1.004 GB, free: 4.359 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.4442, allocations: 223.7 kB / 1.004 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4442, allocations: 0 / 1.004 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003765/0.4445, allocations: 278.1 kB / 1.004 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4446, allocations: 5.5 kB / 1.004 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4446, allocations: 0 / 1.004 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4446, allocations: 2.125 kB / 1.004 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4448, allocations: 64.56 kB / 1.004 GB, free: 4.098 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.4448, allocations: 1.25 kB / 1.004 GB, free: 4.098 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.445, allocations: 33.94 kB / 1.004 GB, free: 4.074 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.445, allocations: 17.64 kB / 1.004 GB, free: 4.066 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 (conTim.tNext,$PRE.conTim.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.0001171/0.4451, allocations: 161.8 kB / 1.004 GB, free: 3.922 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.4452, allocations: 28.44 kB / 1.004 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.4458, allocations: 388.5 kB / 1.005 GB, free: 3.688 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4458, allocations: 5.203 kB / 1.005 GB, free: 3.684 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4458, allocations: 4 kB / 1.005 GB, free: 3.68 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4459, allocations: 150.5 kB / 1.005 GB, free: 3.531 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.4459, allocations: 6.188 kB / 1.005 GB, free: 3.527 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.4461, allocations: 14.42 kB / 1.005 GB, free: 3.52 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.4461, allocations: 29.22 kB / 1.005 GB, free: 3.504 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004144/0.4466, allocations: 380.2 kB / 1.005 GB, free: 3.27 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004062/0.447, allocations: 478.2 kB / 1.006 GB, free: 2.93 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001418/0.4471, allocations: 119.1 kB / 1.006 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001538/0.4473, allocations: 233.5 kB / 1.006 GB, free: 2.727 MB / 0.6857 GB Notification: Performance of Backend: time 4.51e-07/0.4473, allocations: 0 / 1.006 GB, free: 2.727 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.4488, allocations: 0.6626 MB / 1.007 GB, free: 2.48 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006292/0.4495, allocations: 0.8714 MB / 1.008 GB, free: 1.727 MB / 0.6857 GB Notification: Performance of Templates: time 0.007411/0.4569, allocations: 4.445 MB / 1.012 GB, free: 15.51 MB / 0.7013 GB make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)