Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.006992/0.006992, allocations: 102 kB / 15.73 MB, free: 6.039 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.001684/0.001685, allocations: 194 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2726/0.2726, allocations: 54.97 MB / 324.9 MB, free: 4.84 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.89 kB / 456.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1218, allocations: 59.6 MB / 0.5037 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.0029/0.1247, allocations: 1.687 MB / 0.5054 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1268, allocations: 1.547 MB / 0.5069 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.1268, allocations: 0 / 0.5069 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1271, allocations: 23.86 kB / 0.5069 GB, free: 3.789 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1273, allocations: 51.7 kB / 0.507 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1276, allocations: 127 kB / 0.5071 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1279, allocations: 213.6 kB / 0.5073 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.128, allocations: 24.22 kB / 0.5073 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1281, allocations: 79.77 kB / 0.5074 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1283, allocations: 79.78 kB / 0.5075 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.1284, allocations: 16 kB / 0.5075 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.1286, allocations: 123.9 kB / 0.5076 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1287, allocations: 79.75 kB / 0.5077 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.1288, allocations: 91.41 kB / 0.5077 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1292, allocations: 299 kB / 0.508 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1292, allocations: 0 / 0.508 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1292, allocations: 0 / 0.508 GB, free: 2.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1292, allocations: 4 kB / 0.508 GB, free: 2.621 MB / 398.1 MB 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.0008111/0.1301, allocations: 0.5384 MB / 0.5086 GB, free: 2.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1301, allocations: 12.03 kB / 0.5086 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1303, allocations: 32.59 kB / 0.5086 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1306, allocations: 255 kB / 0.5088 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1306, allocations: 15.98 kB / 0.5089 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1306, allocations: 16 kB / 0.5089 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.131, allocations: 199.6 kB / 0.5091 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1311, allocations: 0 / 0.5091 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1311, allocations: 7.938 kB / 0.5091 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1311, allocations: 4 kB / 0.5091 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.132, allocations: 0.7334 MB / 0.5098 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/0.133, allocations: 0.5629 MB / 0.5103 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1335, allocations: 309.4 kB / 0.5106 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1337, allocations: 105.4 kB / 0.5107 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.1344, allocations: 457.7 kB / 0.5112 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003866/0.1348, allocations: 176.9 kB / 0.5113 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.1348, allocations: 0 / 0.5113 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007152/0.1355, allocations: 376.8 kB / 0.5117 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.1356, allocations: 81.11 kB / 0.5118 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.136, allocations: 299 kB / 0.5121 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.136, allocations: 33.7 kB / 0.5121 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.1361, allocations: 116.8 kB / 0.5122 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1362, allocations: 110.4 kB / 0.5123 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.1363, allocations: 69.69 kB / 0.5124 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1365, allocations: 334.8 kB / 0.5127 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1366, allocations: 79.95 kB / 0.5128 GB, free: 13.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.1368, allocations: 114.8 kB / 0.5129 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1371, allocations: 213.1 kB / 0.5131 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1371, allocations: 0 / 0.5131 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004764/0.1376, allocations: 277 kB / 0.5134 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.1377, allocations: 11.88 kB / 0.5134 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1377, allocations: 4.031 kB / 0.5134 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.1377, allocations: 4 kB / 0.5134 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.138, allocations: 59.91 kB / 0.5134 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.138, allocations: 0 / 0.5134 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1381, allocations: 35.67 kB / 0.5135 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1382, allocations: 8 kB / 0.5135 GB, free: 12.71 MB / 414.1 MB 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.tStart,$PRE.conTim.tStart,$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.000267/0.1384, allocations: 157.8 kB / 0.5136 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.1385, allocations: 27.66 kB / 0.5137 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.1391, allocations: 332.1 kB / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1391, allocations: 4 kB / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1391, allocations: 0 / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1391, allocations: 0 / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.1394, allocations: 317.3 kB / 0.5143 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1394, allocations: 0 / 0.5143 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1396, allocations: 63.91 kB / 0.5143 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1396, allocations: 7.938 kB / 0.5143 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1396, allocations: 8 kB / 0.5144 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1397, allocations: 4 kB / 0.5144 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1397, allocations: 4 kB / 0.5144 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.1401, allocations: 324.4 kB / 0.5147 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1403, allocations: 140.6 kB / 0.5148 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1403, allocations: 11.92 kB / 0.5148 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1404, allocations: 12 kB / 0.5148 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.1405, allocations: 23.97 kB / 0.5148 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1405, allocations: 15.98 kB / 0.5149 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.1407, allocations: 232.5 kB / 0.5151 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.344e-06/0.1407, allocations: 0 / 0.5151 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.141, allocations: 71.92 kB / 0.5152 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.1421, allocations: 416 kB / 0.5156 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.1426, allocations: 236.1 kB / 0.5158 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1426, allocations: 0 / 0.5158 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1428, allocations: 127.9 kB / 0.5159 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1431, allocations: 40.58 kB / 0.5159 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.144, allocations: 0.4938 MB / 0.5164 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.1444, allocations: 0.7579 MB / 0.5172 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.1448, allocations: 142.8 kB / 0.5173 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.1448, allocations: 51.36 kB / 0.5173 GB, free: 8.766 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1448, allocations: 0 / 0.5173 GB, free: 8.766 MB / 414.1 MB Notification: Performance of Templates: time 0.006442/0.1513, allocations: 2.854 MB / 0.5201 GB, free: 5.949 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)