Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001046/0.001046, allocations: 117.6 kB / 16.42 MB, free: 6.496 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.0009889/0.0009889, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.05695/0.05695, allocations: 12.05 MB / 303.3 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000532/0.0005321, allocations: 27.94 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.807/1.807, allocations: 272.3 MB / 0.6657 GB, free: 18.44 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002023, allocations: 111.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4387, allocations: 109.2 MB / 1 GB, free: 8.156 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002323/0.4411, allocations: 1.759 MB / 1.002 GB, free: 6.793 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.4429, allocations: 1.747 MB / 1.004 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.4429, allocations: 1.031 kB / 1.004 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.4431, allocations: 28.33 kB / 1.004 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.4433, allocations: 72.14 kB / 1.004 GB, free: 5.344 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.4437, allocations: 183.8 kB / 1.004 GB, free: 5.223 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.4439, allocations: 245.6 kB / 1.004 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.444, allocations: 30.38 kB / 1.004 GB, free: 5.062 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.4442, allocations: 87.84 kB / 1.004 GB, free: 5.016 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.4443, allocations: 93.77 kB / 1.004 GB, free: 4.957 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.4444, allocations: 20.56 kB / 1.004 GB, free: 4.953 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.4446, allocations: 138.9 kB / 1.004 GB, free: 4.895 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.4447, allocations: 77.47 kB / 1.005 GB, free: 4.848 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.4448, allocations: 104.6 kB / 1.005 GB, free: 4.77 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.4451, allocations: 326.7 kB / 1.005 GB, free: 4.555 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4451, allocations: 0 / 1.005 GB, free: 4.555 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4451, allocations: 1.156 kB / 1.005 GB, free: 4.555 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4451, allocations: 4 kB / 1.005 GB, free: 4.551 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.0005916/0.4457, allocations: 0.5462 MB / 1.005 GB, free: 4.035 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4457, allocations: 13.23 kB / 1.005 GB, free: 4.031 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.4459, allocations: 34.59 kB / 1.006 GB, free: 4.012 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4461, allocations: 263 kB / 1.006 GB, free: 3.742 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4461, allocations: 11.06 kB / 1.006 GB, free: 3.738 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.4461, allocations: 18.19 kB / 1.006 GB, free: 3.73 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.4464, allocations: 222.2 kB / 1.006 GB, free: 3.57 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4465, allocations: 0 / 1.006 GB, free: 3.57 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.4465, allocations: 6.562 kB / 1.006 GB, free: 3.566 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4465, allocations: 2.688 kB / 1.006 GB, free: 3.566 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.4472, allocations: 0.7399 MB / 1.007 GB, free: 3.227 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.448, allocations: 0.5762 MB / 1.007 GB, free: 2.73 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.4484, allocations: 318 kB / 1.008 GB, free: 2.578 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4486, allocations: 104.3 kB / 1.008 GB, free: 2.527 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005158/0.4491, allocations: 455.7 kB / 1.008 GB, free: 2.027 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.4494, allocations: 178.9 kB / 1.008 GB, free: 1.902 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=35): time 1.794e-06/0.4494, allocations: 1.094 kB / 1.008 GB, free: 1.902 MB / 0.6857 GB Notification: Performance of matching and sorting (n=35): time 0.0005925/0.45, allocations: 385.2 kB / 1.009 GB, free: 1.715 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.45, allocations: 132.2 kB / 1.009 GB, free: 1.559 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.4502, allocations: 304.6 kB / 1.009 GB, free: 1.371 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4503, allocations: 34.86 kB / 1.009 GB, free: 1.332 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.4503, allocations: 118 kB / 1.009 GB, free: 1.219 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.4504, allocations: 120.9 kB / 1.009 GB, free: 1.113 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.4505, allocations: 71.02 kB / 1.009 GB, free: 1.066 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.4505, allocations: 337.6 kB / 1.01 GB, free: 0.7344 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4507, allocations: 84.83 kB / 1.01 GB, free: 0.6953 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.4508, allocations: 127.5 kB / 1.01 GB, free: 0.6172 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.4511, allocations: 218.7 kB / 1.01 GB, free: 0.5117 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4511, allocations: 0 / 1.01 GB, free: 0.5117 MB / 0.6857 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004003/0.4515, allocations: 286.6 kB / 1.01 GB, free: 376 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4516, allocations: 5.562 kB / 1.01 GB, free: 376 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4516, allocations: 3.984 kB / 1.01 GB, free: 372 kB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4516, allocations: 1.062 kB / 1.01 GB, free: 372 kB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4518, allocations: 69.45 kB / 1.011 GB, free: 352 kB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4518, allocations: 1.156 kB / 1.011 GB, free: 352 kB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.452, allocations: 28.91 kB / 1.011 GB, free: 332 kB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.452, allocations: 16.33 kB / 1.011 GB, free: 324 kB / 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.0001098/0.4521, allocations: 166.1 kB / 1.011 GB, free: 172 kB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.4522, allocations: 23.22 kB / 1.011 GB, free: 160 kB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.4528, allocations: 393.1 kB / 1.011 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4528, allocations: 4.031 kB / 1.011 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4528, allocations: 1.562 kB / 1.011 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.453, allocations: 142 kB / 1.011 GB, free: 15.79 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.453, allocations: 11.56 kB / 1.011 GB, free: 15.78 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4532, allocations: 17.95 kB / 1.011 GB, free: 15.77 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.4532, allocations: 23.61 kB / 1.011 GB, free: 15.76 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004758/0.4537, allocations: 380.4 kB / 1.012 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004947/0.4542, allocations: 474.5 kB / 1.012 GB, free: 15.19 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001636/0.4544, allocations: 119.8 kB / 1.012 GB, free: 15.13 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0001858/0.4546, allocations: 233.8 kB / 1.012 GB, free: 14.99 MB / 0.7013 GB Notification: Performance of Backend: time 2.21e-07/0.4546, allocations: 0 / 1.012 GB, free: 14.99 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.4562, allocations: 0.6615 MB / 1.013 GB, free: 14.71 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0007348/0.457, allocations: 0.8651 MB / 1.014 GB, free: 13.95 MB / 0.7013 GB Notification: Performance of Templates: time 0.007554/0.4645, allocations: 4.446 MB / 1.018 GB, free: 11.74 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)