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.009323/0.009323, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001759/0.001759, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4603/0.4603, allocations: 54.94 MB / 324.8 MB, free: 40 kB / 254.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: 71.66 kB / 456.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1395, allocations: 59.58 MB / 0.5038 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003304/0.1428, allocations: 1.695 MB / 0.5054 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.145, allocations: 1.553 MB / 0.5069 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1451, allocations: 1.375 kB / 0.5069 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1454, allocations: 15.98 kB / 0.507 GB, free: 7.062 MB / 382.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.0002366/0.1456, allocations: 54.66 kB / 0.507 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1461, allocations: 125.7 kB / 0.5071 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1463, allocations: 212.3 kB / 0.5073 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1464, allocations: 27.22 kB / 0.5074 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1466, allocations: 79.38 kB / 0.5074 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1468, allocations: 80.66 kB / 0.5075 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.1468, allocations: 15.12 kB / 0.5075 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.147, allocations: 116.5 kB / 0.5076 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.1471, allocations: 77.5 kB / 0.5077 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.1472, allocations: 93.38 kB / 0.5078 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.1476, allocations: 304.4 kB / 0.5081 GB, free: 6.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1476, allocations: 4 kB / 0.5081 GB, free: 6.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1476, allocations: 0 / 0.5081 GB, free: 6.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1476, allocations: 1.125 kB / 0.5081 GB, free: 6.32 MB / 382.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.0006942/0.1483, allocations: 0.5306 MB / 0.5086 GB, free: 5.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1484, allocations: 9.656 kB / 0.5086 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1485, allocations: 37 kB / 0.5087 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1488, allocations: 257.3 kB / 0.5089 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1488, allocations: 11.69 kB / 0.5089 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1488, allocations: 21.81 kB / 0.5089 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1491, allocations: 196.7 kB / 0.5091 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1491, allocations: 0 / 0.5091 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.1491, allocations: 4 kB / 0.5091 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1492, allocations: 4 kB / 0.5091 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.1498, allocations: 0.7373 MB / 0.5099 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.1505, allocations: 0.5591 MB / 0.5104 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1509, allocations: 300.5 kB / 0.5107 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.151, allocations: 105.4 kB / 0.5108 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.1516, allocations: 469.7 kB / 0.5112 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.1519, allocations: 168 kB / 0.5114 GB, free: 2.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.1519, allocations: 4 kB / 0.5114 GB, free: 2.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.000559/0.1525, allocations: 368.8 kB / 0.5117 GB, free: 2.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1525, allocations: 81.11 kB / 0.5118 GB, free: 2.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1527, allocations: 295.1 kB / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1528, allocations: 33.7 kB / 0.5121 GB, free: 2.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.1528, allocations: 124.7 kB / 0.5123 GB, free: 1.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.1529, allocations: 118.3 kB / 0.5124 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.153, allocations: 65.62 kB / 0.5124 GB, free: 1.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.153, allocations: 334.8 kB / 0.5128 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1532, allocations: 83.89 kB / 0.5128 GB, free: 1.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1533, allocations: 110.8 kB / 0.5129 GB, free: 1.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1536, allocations: 213.1 kB / 0.5131 GB, free: 0.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1536, allocations: 4 kB / 0.5131 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003424/0.1539, allocations: 273.2 kB / 0.5134 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1539, allocations: 11.94 kB / 0.5134 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1539, allocations: 0 / 0.5134 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.154, allocations: 0 / 0.5134 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1542, allocations: 63.91 kB / 0.5135 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1542, allocations: 0 / 0.5135 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.1543, allocations: 27.73 kB / 0.5135 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.1543, allocations: 8 kB / 0.5135 GB, free: 0.5703 MB / 382.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.0001104/0.1544, allocations: 165.8 kB / 0.5137 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.1545, allocations: 27.66 kB / 0.5137 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.1549, allocations: 328 kB / 0.514 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.1549, allocations: 4 kB / 0.514 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1549, allocations: 0 / 0.514 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1549, allocations: 3.984 kB / 0.514 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.1553, allocations: 325.2 kB / 0.5143 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1553, allocations: 11.94 kB / 0.5143 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1555, allocations: 55.91 kB / 0.5144 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1555, allocations: 7.938 kB / 0.5144 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1555, allocations: 8 kB / 0.5144 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1555, allocations: 0 / 0.5144 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1555, allocations: 0 / 0.5144 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.156, allocations: 320.5 kB / 0.5147 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1562, allocations: 136.7 kB / 0.5148 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1562, allocations: 19.94 kB / 0.5149 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.1563, allocations: 8 kB / 0.5149 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.1564, allocations: 19.97 kB / 0.5149 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.1565, allocations: 19.98 kB / 0.5149 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.1567, allocations: 232.5 kB / 0.5151 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 0.5151 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000338/0.157, allocations: 79.83 kB / 0.5152 GB, free: 14.73 MB / 398.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.001004/0.158, allocations: 397.8 kB / 0.5156 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.1585, allocations: 240.1 kB / 0.5158 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1585, allocations: 0 / 0.5158 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.1587, allocations: 131.8 kB / 0.5159 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.159, allocations: 36.59 kB / 0.516 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.1599, allocations: 0.5015 MB / 0.5165 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1603, allocations: 0.7535 MB / 0.5172 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.1606, allocations: 150.8 kB / 0.5173 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.1607, allocations: 43.41 kB / 0.5174 GB, free: 12.58 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1607, allocations: 0 / 0.5174 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Templates: time 0.007125/0.1678, allocations: 2.918 MB / 0.5202 GB, free: 9.68 MB / 398.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)