Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009884, allocations: 109.5 kB / 16.42 MB, free: 6.461 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.001044/0.001044, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.179/1.179, allocations: 222.9 MB / 241 MB, free: 15.09 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.05323/0.05323, allocations: 12.03 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.0004542/0.0004542, allocations: 23.95 kB / 356.3 MB, free: 13.95 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.378/1.378, allocations: 268.2 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 111.8 kB / 0.888 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4472, allocations: 108.4 MB / 0.9939 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002499/0.4497, allocations: 1.651 MB / 0.9955 GB, free: 15.45 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.4513, allocations: 1.298 MB / 0.9967 GB, free: 14.14 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.4514, allocations: 7.938 kB / 0.9967 GB, free: 14.13 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.4515, allocations: 23.84 kB / 0.9968 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.4518, allocations: 67.67 kB / 0.9968 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.4521, allocations: 158.3 kB / 0.997 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.4524, allocations: 229.6 kB / 0.9972 GB, free: 13.66 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.4525, allocations: 32 kB / 0.9972 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.4526, allocations: 79.77 kB / 0.9973 GB, free: 13.55 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.4527, allocations: 93.64 kB / 0.9974 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.4528, allocations: 16 kB / 0.9974 GB, free: 13.45 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.453, allocations: 103.9 kB / 0.9975 GB, free: 13.34 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.4531, allocations: 83.75 kB / 0.9976 GB, free: 13.26 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/0.4531, allocations: 99.39 kB / 0.9977 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.4534, allocations: 299 kB / 0.998 GB, free: 12.87 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4535, allocations: 8 kB / 0.998 GB, free: 12.86 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4535, allocations: 0 / 0.998 GB, free: 12.86 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.4535, allocations: 0 / 0.998 GB, free: 12.86 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006506/0.4541, allocations: 0.5296 MB / 0.9985 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.4542, allocations: 8.031 kB / 0.9985 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.4545, allocations: 52.55 kB / 0.9986 GB, free: 12.23 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.4547, allocations: 268.8 kB / 0.9988 GB, free: 11.93 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4548, allocations: 16.38 kB / 0.9988 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.4548, allocations: 12.38 kB / 0.9988 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.4552, allocations: 221 kB / 0.9991 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4552, allocations: 0 / 0.9991 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.4552, allocations: 8 kB / 0.9991 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4552, allocations: 8 kB / 0.9991 GB, free: 11.65 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.4561, allocations: 0.7529 MB / 0.9998 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.4569, allocations: 0.5631 MB / 1 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.4574, allocations: 329.1 kB / 1.001 GB, free: 9.953 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.4576, allocations: 113.3 kB / 1.001 GB, free: 9.84 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.4577, allocations: 20.25 kB / 1.001 GB, free: 9.82 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.458, allocations: 180 kB / 1.001 GB, free: 9.633 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.458, allocations: 4 kB / 1.001 GB, free: 9.629 MB / 0.6857 GB Notification: Performance of matching and sorting (n=34): time 0.0007387/0.4588, allocations: 397.9 kB / 1.001 GB, free: 9.23 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4588, allocations: 136.5 kB / 1.001 GB, free: 9.066 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.4591, allocations: 303.4 kB / 1.002 GB, free: 8.766 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4591, allocations: 33.7 kB / 1.002 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.4592, allocations: 120.8 kB / 1.002 GB, free: 8.602 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.4593, allocations: 118.2 kB / 1.002 GB, free: 8.484 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.4594, allocations: 69.67 kB / 1.002 GB, free: 8.41 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4595, allocations: 342.8 kB / 1.002 GB, free: 8.066 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4597, allocations: 84.25 kB / 1.003 GB, free: 7.984 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.4599, allocations: 136.1 kB / 1.003 GB, free: 7.84 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.4603, allocations: 219.5 kB / 1.003 GB, free: 7.625 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4603, allocations: 0 / 1.003 GB, free: 7.625 MB / 0.6857 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004918/0.4608, allocations: 305.4 kB / 1.003 GB, free: 7.32 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4608, allocations: 4 kB / 1.003 GB, free: 7.316 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4608, allocations: 0 / 1.003 GB, free: 7.316 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4608, allocations: 8.031 kB / 1.003 GB, free: 7.309 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.461, allocations: 59.97 kB / 1.003 GB, free: 7.25 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4611, allocations: 3.938 kB / 1.003 GB, free: 7.246 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4612, allocations: 34.16 kB / 1.003 GB, free: 7.215 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4613, allocations: 15.98 kB / 1.003 GB, free: 7.199 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 (35): * Single equations (assignments): 35 * 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.0001373/0.4614, allocations: 162.8 kB / 1.003 GB, free: 7.031 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.4615, allocations: 27.62 kB / 1.003 GB, free: 7.004 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.4622, allocations: 396.4 kB / 1.004 GB, free: 6.609 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4622, allocations: 4 kB / 1.004 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4622, allocations: 0 / 1.004 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4623, allocations: 140.7 kB / 1.004 GB, free: 6.449 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.4624, allocations: 19.92 kB / 1.004 GB, free: 6.43 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.4625, allocations: 11.98 kB / 1.004 GB, free: 6.418 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.4626, allocations: 23.97 kB / 1.004 GB, free: 6.395 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005846/0.4632, allocations: 392.6 kB / 1.004 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005471/0.4638, allocations: 479.1 kB / 1.005 GB, free: 5.52 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001951/0.464, allocations: 119.9 kB / 1.005 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001713/0.4641, allocations: 240.4 kB / 1.005 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of Backend: time 3.41e-07/0.4641, allocations: 0 / 1.005 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.4657, allocations: 0.6501 MB / 1.006 GB, free: 4.746 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0007157/0.4665, allocations: 0.8533 MB / 1.007 GB, free: 3.852 MB / 0.6857 GB Notification: Performance of Templates: time 0.007079/0.4735, allocations: 4.391 MB / 1.011 GB, free: 15.48 MB / 0.7013 GB make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)