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.001909/0.001909, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002397/0.002397, allocations: 190.7 kB / 22.1 MB, free: 4.223 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.639/1.639, allocations: 207.6 MB / 232.8 MB, free: 2.793 MB / 174.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.4693/0.4693, allocations: 55.68 MB / 340.7 MB, free: 11.5 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.002279/0.002279, allocations: 73.3 kB / 482.1 MB, free: 36.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.173, allocations: 62.87 MB / 0.5322 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003752/0.1767, allocations: 1.721 MB / 0.5338 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.1795, allocations: 1.65 MB / 0.5354 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.1796, allocations: 0 / 0.5354 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.1799, allocations: 31.78 kB / 0.5355 GB, free: 7.746 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.0002482/0.1801, allocations: 47.7 kB / 0.5355 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1805, allocations: 119.7 kB / 0.5356 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.1809, allocations: 221.6 kB / 0.5358 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.181, allocations: 12.22 kB / 0.5359 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1812, allocations: 83.77 kB / 0.5359 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1814, allocations: 85.8 kB / 0.536 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.1814, allocations: 16 kB / 0.536 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.1817, allocations: 119.9 kB / 0.5362 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1818, allocations: 75.77 kB / 0.5362 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1819, allocations: 103.3 kB / 0.5363 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1824, allocations: 298.8 kB / 0.5366 GB, free: 6.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1824, allocations: 0 / 0.5366 GB, free: 6.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1824, allocations: 0 / 0.5366 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1824, allocations: 0 / 0.5366 GB, free: 6.586 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.0008811/0.1833, allocations: 481.7 kB / 0.5371 GB, free: 6.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1833, allocations: 12.03 kB / 0.5371 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1835, allocations: 24.8 kB / 0.5371 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.1838, allocations: 205.2 kB / 0.5373 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1838, allocations: 8 kB / 0.5373 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.1839, allocations: 23.98 kB / 0.5373 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1842, allocations: 191 kB / 0.5375 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1842, allocations: 4 kB / 0.5375 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.1843, allocations: 4 kB / 0.5375 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1843, allocations: 4 kB / 0.5375 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.1852, allocations: 0.7411 MB / 0.5382 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.1862, allocations: 0.5385 MB / 0.5388 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.1867, allocations: 288.6 kB / 0.539 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1869, allocations: 97.36 kB / 0.5391 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/0.1874, allocations: 72.19 kB / 0.5392 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.1878, allocations: 171.4 kB / 0.5394 GB, free: 3.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.1878, allocations: 4 kB / 0.5394 GB, free: 3.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007673/0.1886, allocations: 381.4 kB / 0.5397 GB, free: 3.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.1887, allocations: 81.11 kB / 0.5398 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.1891, allocations: 295.1 kB / 0.5401 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.1891, allocations: 33.7 kB / 0.5401 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1892, allocations: 112.8 kB / 0.5402 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.1894, allocations: 126.9 kB / 0.5404 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1895, allocations: 69.62 kB / 0.5404 GB, free: 2.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1897, allocations: 338.8 kB / 0.5407 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1898, allocations: 79.95 kB / 0.5408 GB, free: 2.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.19, allocations: 105.7 kB / 0.5409 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.1904, allocations: 218.3 kB / 0.5411 GB, free: 1.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1904, allocations: 0 / 0.5411 GB, free: 1.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005199/0.1909, allocations: 281.2 kB / 0.5414 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1909, allocations: 7.938 kB / 0.5414 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1909, allocations: 0 / 0.5414 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.191, allocations: 8.031 kB / 0.5414 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.1912, allocations: 63.91 kB / 0.5415 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1912, allocations: 0 / 0.5415 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.1913, allocations: 23.83 kB / 0.5415 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1914, allocations: 16 kB / 0.5415 GB, free: 1.348 MB / 398.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.0002025/0.1916, allocations: 157.8 kB / 0.5417 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.1916, allocations: 27.8 kB / 0.5417 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.1923, allocations: 332.1 kB / 0.542 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1923, allocations: 4 kB / 0.542 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1923, allocations: 0 / 0.542 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1923, allocations: 0 / 0.542 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1927, allocations: 296.4 kB / 0.5423 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1927, allocations: 0 / 0.5423 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1928, allocations: 59.91 kB / 0.5424 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1929, allocations: 3.938 kB / 0.5424 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.1929, allocations: 16 kB / 0.5424 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1929, allocations: 0 / 0.5424 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1929, allocations: 0 / 0.5424 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.1934, allocations: 324.5 kB / 0.5427 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1936, allocations: 63.69 kB / 0.5427 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.1936, allocations: 11.94 kB / 0.5428 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1937, allocations: 11.98 kB / 0.5428 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.1938, allocations: 23.95 kB / 0.5428 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.1938, allocations: 12 kB / 0.5428 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.194, allocations: 227.1 kB / 0.543 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.194, allocations: 4 kB / 0.543 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1944, allocations: 63.89 kB / 0.5431 GB, free: 15.66 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.001574/0.196, allocations: 437.8 kB / 0.5435 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.1964, allocations: 216.3 kB / 0.5437 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1964, allocations: 0 / 0.5437 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.1966, allocations: 124.3 kB / 0.5438 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1969, allocations: 40.66 kB / 0.5439 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.1978, allocations: 0.5092 MB / 0.5444 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1982, allocations: 0.7577 MB / 0.5451 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.1985, allocations: 134.9 kB / 0.5452 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.1986, allocations: 43.41 kB / 0.5453 GB, free: 13.51 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1986, allocations: 4 kB / 0.5453 GB, free: 13.51 MB / 414.1 MB Notification: Performance of Templates: time 0.008154/0.2067, allocations: 3.08 MB / 0.5483 GB, free: 10.44 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.73588165268302] Failed to read output from testmodel.py, exit status != 0: 0.21615919191390276 0.23082645499999996 0.04543142499999994 Calling exit ...