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.007644/0.007644, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001215/0.001214, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.3/1.3, 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.2589/0.2589, allocations: 54.97 MB / 324.9 MB, free: 4.832 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.001451/0.001451, allocations: 75.84 kB / 456.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1598, allocations: 59.6 MB / 0.5037 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003334/0.1632, allocations: 1.684 MB / 0.5054 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1657, allocations: 1.553 MB / 0.5069 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.1657, allocations: 0 / 0.5069 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.166, allocations: 27.8 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.0002283/0.1662, allocations: 47.77 kB / 0.507 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1666, allocations: 127.2 kB / 0.5071 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1669, allocations: 213.7 kB / 0.5073 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.167, allocations: 20.22 kB / 0.5073 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1672, allocations: 83.75 kB / 0.5074 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1674, allocations: 75.8 kB / 0.5075 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1674, allocations: 16 kB / 0.5075 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1676, allocations: 123.9 kB / 0.5076 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1677, allocations: 83.75 kB / 0.5077 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1678, allocations: 95.41 kB / 0.5078 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1682, allocations: 303 kB / 0.508 GB, free: 2.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1682, allocations: 3.938 kB / 0.508 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1683, allocations: 0 / 0.508 GB, free: 2.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1683, allocations: 0 / 0.508 GB, free: 2.617 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.0008062/0.1691, allocations: 0.5383 MB / 0.5086 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1691, allocations: 12.03 kB / 0.5086 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1693, allocations: 24.66 kB / 0.5086 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1696, allocations: 259 kB / 0.5089 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1696, allocations: 12 kB / 0.5089 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1696, allocations: 16 kB / 0.5089 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.17, allocations: 195.7 kB / 0.5091 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.17, allocations: 0 / 0.5091 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.17, allocations: 7.984 kB / 0.5091 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.17, allocations: 4 kB / 0.5091 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.1709, allocations: 0.7373 MB / 0.5098 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.1717, allocations: 0.5552 MB / 0.5103 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.1722, allocations: 309.4 kB / 0.5106 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1724, allocations: 109.3 kB / 0.5107 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.173, allocations: 461.6 kB / 0.5112 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.1734, allocations: 168.9 kB / 0.5113 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.1734, allocations: 0 / 0.5113 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006873/0.1741, allocations: 372.8 kB / 0.5117 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.1742, allocations: 85.11 kB / 0.5118 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1744, allocations: 299 kB / 0.5121 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1745, allocations: 37.7 kB / 0.5121 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.1746, allocations: 116.8 kB / 0.5122 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.1747, allocations: 114.4 kB / 0.5123 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.1747, allocations: 61.69 kB / 0.5124 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1749, allocations: 338.8 kB / 0.5127 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.175, allocations: 75.95 kB / 0.5128 GB, free: 13.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1752, allocations: 110.8 kB / 0.5129 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1755, allocations: 213.1 kB / 0.5131 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1755, allocations: 4.031 kB / 0.5131 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004433/0.176, allocations: 277 kB / 0.5134 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.176, allocations: 19.81 kB / 0.5134 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.176, allocations: 3.984 kB / 0.5134 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.176, allocations: 0 / 0.5134 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.1763, allocations: 59.97 kB / 0.5134 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1763, allocations: 3.938 kB / 0.5134 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.1764, allocations: 31.67 kB / 0.5135 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.1764, allocations: 15.98 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.0001733/0.1766, allocations: 157.8 kB / 0.5136 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.1767, allocations: 27.66 kB / 0.5137 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.1773, allocations: 328.1 kB / 0.514 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1773, allocations: 4 kB / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1773, allocations: 0 / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1773, allocations: 4 kB / 0.514 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.1776, allocations: 317.3 kB / 0.5143 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1776, allocations: 7.984 kB / 0.5143 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1778, allocations: 51.92 kB / 0.5143 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.1778, allocations: 15.92 kB / 0.5144 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1779, allocations: 8 kB / 0.5144 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1779, allocations: 0 / 0.5144 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1779, allocations: 0 / 0.5144 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.1784, allocations: 328.4 kB / 0.5147 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1785, allocations: 144.6 kB / 0.5148 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1785, allocations: 11.92 kB / 0.5148 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1786, allocations: 8 kB / 0.5148 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.1787, allocations: 19.97 kB / 0.5149 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.1787, allocations: 19.98 kB / 0.5149 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.179, allocations: 228.5 kB / 0.5151 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.179, allocations: 0 / 0.5151 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1793, allocations: 67.98 kB / 0.5152 GB, free: 10.9 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.0009818/0.1803, allocations: 425.4 kB / 0.5156 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.1807, allocations: 232.1 kB / 0.5158 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1807, allocations: 0 / 0.5158 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1809, allocations: 127.8 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.000248/0.1811, allocations: 36.12 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.0008345/0.182, allocations: 0.4974 MB / 0.5164 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1823, allocations: 0.754 MB / 0.5172 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.1827, allocations: 146.9 kB / 0.5173 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.1827, allocations: 39.42 kB / 0.5173 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1827, allocations: 0 / 0.5173 GB, free: 8.781 MB / 414.1 MB Notification: Performance of Templates: time 0.007153/0.1899, allocations: 2.903 MB / 0.5202 GB, free: 5.906 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)