Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.001666/0.001666, allocations: 106 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.001938/0.001938, allocations: 191.9 kB / 22.1 MB, free: 4.227 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.593/1.593, allocations: 207.6 MB / 232.8 MB, free: 2.797 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.4136/0.4136, allocations: 55.67 MB / 340.7 MB, free: 11.48 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.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [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.002304/0.002304, allocations: 71.28 kB / 482.1 MB, free: 36.53 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1744, allocations: 62.88 MB / 0.5322 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.004841/0.1792, allocations: 1.749 MB / 0.5339 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1818, allocations: 1.252 MB / 0.5351 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.182, allocations: 3.938 kB / 0.5351 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.1823, allocations: 27.78 kB / 0.5351 GB, free: 7.996 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.0003439/0.1827, allocations: 51.7 kB / 0.5352 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1831, allocations: 126.9 kB / 0.5353 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.1835, allocations: 237.5 kB / 0.5355 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1837, allocations: 29.28 kB / 0.5355 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1839, allocations: 83.75 kB / 0.5356 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1841, allocations: 87.73 kB / 0.5357 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.1842, allocations: 16 kB / 0.5357 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1844, allocations: 115.9 kB / 0.5358 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1846, allocations: 87.73 kB / 0.5359 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1848, allocations: 99.34 kB / 0.536 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.1853, allocations: 322.7 kB / 0.5363 GB, free: 6.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1853, allocations: 0 / 0.5363 GB, free: 6.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1853, allocations: 0 / 0.5363 GB, free: 6.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1853, allocations: 0 / 0.5363 GB, free: 6.77 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001104/0.1864, allocations: 0.4887 MB / 0.5368 GB, free: 6.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1865, allocations: 8.031 kB / 0.5368 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1866, allocations: 32.75 kB / 0.5368 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.187, allocations: 216.6 kB / 0.537 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.187, allocations: 12 kB / 0.5371 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.1871, allocations: 23.98 kB / 0.5371 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.1875, allocations: 207 kB / 0.5373 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1875, allocations: 0 / 0.5373 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1875, allocations: 4 kB / 0.5373 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1876, allocations: 4 kB / 0.5373 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1887, allocations: 0.749 MB / 0.538 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1898, allocations: 0.5578 MB / 0.5386 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.1904, allocations: 311.9 kB / 0.5389 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.1907, allocations: 104.8 kB / 0.539 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.1912, allocations: 79.89 kB / 0.539 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005931/0.1918, allocations: 171 kB / 0.5392 GB, free: 3.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.1918, allocations: 4 kB / 0.5392 GB, free: 3.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009365/0.1928, allocations: 397.4 kB / 0.5396 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1929, allocations: 81.11 kB / 0.5397 GB, free: 3.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.1933, allocations: 308.9 kB / 0.54 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.1934, allocations: 33.7 kB / 0.54 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1935, allocations: 133 kB / 0.5401 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.1937, allocations: 123 kB / 0.5402 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1938, allocations: 69.64 kB / 0.5403 GB, free: 2.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.1941, allocations: 334.8 kB / 0.5406 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1943, allocations: 87.94 kB / 0.5407 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1945, allocations: 117.7 kB / 0.5408 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.1949, allocations: 221.2 kB / 0.541 GB, free: 1.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1949, allocations: 4 kB / 0.541 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006065/0.1955, allocations: 296.8 kB / 0.5413 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.1956, allocations: 11.92 kB / 0.5413 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1956, allocations: 0 / 0.5413 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/0.1956, allocations: 4 kB / 0.5413 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.1959, allocations: 63.91 kB / 0.5414 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1959, allocations: 4 kB / 0.5414 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.196, allocations: 23.78 kB / 0.5414 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.1961, allocations: 15.98 kB / 0.5414 GB, free: 1.324 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 (38): * Single equations (assignments): 38 * 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.0002583/0.1963, allocations: 165.8 kB / 0.5416 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.1964, allocations: 31.75 kB / 0.5416 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.197, allocations: 340.6 kB / 0.5419 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.197, allocations: 8 kB / 0.5419 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1971, allocations: 0 / 0.5419 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1971, allocations: 3.984 kB / 0.542 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.1975, allocations: 304.4 kB / 0.5422 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1975, allocations: 0 / 0.5422 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1977, allocations: 63.91 kB / 0.5423 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1977, allocations: 3.938 kB / 0.5423 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1977, allocations: 8 kB / 0.5423 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1977, allocations: 4 kB / 0.5423 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1977, allocations: 0 / 0.5423 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.1983, allocations: 345 kB / 0.5426 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.1984, allocations: 67.64 kB / 0.5427 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.1985, allocations: 11.94 kB / 0.5427 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.1986, allocations: 11.98 kB / 0.5427 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.1986, allocations: 23.95 kB / 0.5428 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1987, allocations: 15.94 kB / 0.5428 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.1989, allocations: 236.4 kB / 0.543 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 0 / 0.543 GB, free: 15.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.1993, allocations: 79.86 kB / 0.5431 GB, free: 15.55 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 (37): * Single equations (assignments): 36 * 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.001591/0.2009, allocations: 421.1 kB / 0.5435 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.2013, allocations: 231.9 kB / 0.5437 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2013, allocations: 4 kB / 0.5437 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.2015, allocations: 123.8 kB / 0.5438 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2019, allocations: 52.28 kB / 0.5439 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2031, allocations: 0.5308 MB / 0.5444 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.2036, allocations: 0.7616 MB / 0.5451 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.2039, allocations: 158.8 kB / 0.5453 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2041, allocations: 47.41 kB / 0.5453 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2041, allocations: 0 / 0.5453 GB, free: 13.33 MB / 414.1 MB Notification: Performance of Templates: time 0.008844/0.2129, allocations: 3.402 MB / 0.5487 GB, free: 9.938 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.774698709137738] Failed to read output from testmodel.py, exit status != 0: 0.22197940573096275 0.237140185 0.048538010000000006 Calling exit ...