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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003078/0.003077, allocations: 106.6 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002798/0.002798, allocations: 195.7 kB / 19.36 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2859/0.2859, allocations: 54.95 MB / 331.5 MB, free: 2.75 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") [Timeout 660] "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.002177/0.002178, allocations: 68.67 kB / 464.9 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1577, allocations: 59.6 MB / 0.5122 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003498/0.1612, allocations: 1.699 MB / 0.5139 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1636, allocations: 1.551 MB / 0.5154 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.1637, allocations: 0 / 0.5154 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.164, allocations: 27.86 kB / 0.5154 GB, free: 1.48 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.0001938/0.1642, allocations: 47.7 kB / 0.5155 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1645, allocations: 119.7 kB / 0.5156 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1648, allocations: 213.6 kB / 0.5158 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1649, allocations: 28.2 kB / 0.5158 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1651, allocations: 71.83 kB / 0.5159 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1652, allocations: 83.72 kB / 0.516 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1653, allocations: 19.94 kB / 0.516 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1655, allocations: 119.9 kB / 0.5161 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.926e-05/0.1656, allocations: 79.81 kB / 0.5162 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1658, allocations: 95.39 kB / 0.5163 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.1662, allocations: 302.7 kB / 0.5166 GB, free: 324 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1662, allocations: 4 kB / 0.5166 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1662, allocations: 0 / 0.5166 GB, free: 320 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1663, allocations: 4 kB / 0.5166 GB, free: 316 kB / 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.0008366/0.1671, allocations: 0.5418 MB / 0.5171 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1672, allocations: 8.031 kB / 0.5171 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.1673, allocations: 24.8 kB / 0.5171 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1676, allocations: 263 kB / 0.5174 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1676, allocations: 12 kB / 0.5174 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1677, allocations: 16 kB / 0.5174 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.168, allocations: 199.6 kB / 0.5176 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1681, allocations: 0 / 0.5176 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1681, allocations: 8 kB / 0.5176 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1681, allocations: 4 kB / 0.5176 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.169, allocations: 0.7372 MB / 0.5183 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.1699, allocations: 0.5592 MB / 0.5189 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1704, allocations: 305.4 kB / 0.5192 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1706, allocations: 105.4 kB / 0.5193 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.1713, allocations: 457.7 kB / 0.5197 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.1717, allocations: 180.9 kB / 0.5199 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.1717, allocations: 0 / 0.5199 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006858/0.1724, allocations: 372.9 kB / 0.5202 GB, free: 12.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1725, allocations: 85.11 kB / 0.5203 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1728, allocations: 295.1 kB / 0.5206 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1728, allocations: 29.7 kB / 0.5206 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.1729, allocations: 120.8 kB / 0.5207 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.173, allocations: 122.9 kB / 0.5208 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.1731, allocations: 65.69 kB / 0.5209 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1733, allocations: 342.8 kB / 0.5212 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1734, allocations: 83.89 kB / 0.5213 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1736, allocations: 106.8 kB / 0.5214 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.1739, allocations: 213.1 kB / 0.5216 GB, free: 10.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1739, allocations: 0 / 0.5216 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004424/0.1744, allocations: 281.2 kB / 0.5219 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1744, allocations: 7.938 kB / 0.5219 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1744, allocations: 4.031 kB / 0.5219 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1745, allocations: 0 / 0.5219 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1747, allocations: 67.84 kB / 0.522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1747, allocations: 4 kB / 0.522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.1748, allocations: 23.83 kB / 0.522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1748, allocations: 12 kB / 0.522 GB, free: 10.39 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.0001532/0.175, allocations: 162.4 kB / 0.5222 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.175, allocations: 31.78 kB / 0.5222 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.1756, allocations: 324.1 kB / 0.5225 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1756, allocations: 4 kB / 0.5225 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1756, allocations: 0 / 0.5225 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1757, allocations: 4 kB / 0.5225 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.176, allocations: 325.3 kB / 0.5228 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.176, allocations: 0 / 0.5228 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1762, allocations: 63.91 kB / 0.5229 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1762, allocations: 11.88 kB / 0.5229 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1763, allocations: 8 kB / 0.5229 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1763, allocations: 0 / 0.5229 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1763, allocations: 4 kB / 0.5229 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.1768, allocations: 312.6 kB / 0.5232 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1769, allocations: 144.8 kB / 0.5233 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.177, allocations: 11.94 kB / 0.5233 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.177, allocations: 12 kB / 0.5234 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.1771, allocations: 23.97 kB / 0.5234 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1771, allocations: 15.92 kB / 0.5234 GB, free: 8.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1774, allocations: 228.5 kB / 0.5236 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1774, allocations: 0 / 0.5236 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.1777, allocations: 75.88 kB / 0.5237 GB, free: 8.57 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.001463/0.1792, allocations: 420.3 kB / 0.5241 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1796, allocations: 236.1 kB / 0.5243 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1796, allocations: 0 / 0.5243 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.1799, allocations: 131.9 kB / 0.5244 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1802, allocations: 38.39 kB / 0.5245 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.1811, allocations: 0.5011 MB / 0.525 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1816, allocations: 0.7579 MB / 0.5257 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003103/0.1819, allocations: 138.9 kB / 0.5258 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.182, allocations: 47.41 kB / 0.5259 GB, free: 6.438 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.182, allocations: 0 / 0.5259 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Templates: time 0.007422/0.1894, allocations: 2.902 MB / 0.5287 GB, free: 3.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.651326638646424]